Fix environment conversions (#7092)

This commit is contained in:
JT 2022-11-11 13:13:07 +13:00 committed by GitHub
parent 3e56e81d06
commit 4a83bb6c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ fn get_converted_value(
},
];
if let Ok(Value::Block {
if let Ok(Value::Closure {
val: block_id,
span: from_span,
..