mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
fix compile issues
This commit is contained in:
parent
07d4f8dc15
commit
4e9387cbda
4 changed files with 35 additions and 14 deletions
|
@ -285,7 +285,9 @@ pub fn canonicalize_expr<'a>(
|
|||
}
|
||||
}
|
||||
ast::Expr::Str(literal) => flatten_str_literal(env, var_store, scope, literal),
|
||||
ast::Expr::List(loc_elems) => {
|
||||
ast::Expr::List {
|
||||
items: loc_elems, ..
|
||||
} => {
|
||||
if loc_elems.is_empty() {
|
||||
(
|
||||
List {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue