Add support for load-env (#752)

This commit is contained in:
JT
2022-01-15 18:50:11 -05:00
committed by GitHub
parent 75db4a75bc
commit b78924c777
8 changed files with 136 additions and 5 deletions

View File

@ -2970,6 +2970,8 @@ pub fn parse_value(
}
if matches!(shape, SyntaxShape::Block(_)) || matches!(shape, SyntaxShape::Any) {
return parse_block_expression(working_set, shape, span);
} else if matches!(shape, SyntaxShape::Record) {
return parse_record(working_set, span);
} else {
return (
Expression::garbage(span),