This commit is contained in:
Folkert 2020-07-06 20:38:10 +02:00
parent a0d39ff10f
commit e595c14fae
6 changed files with 213 additions and 54 deletions

View file

@ -96,7 +96,7 @@ pub fn canonicalize_pattern<'a>(
use roc_parse::ast::Pattern::*;
use PatternType::*;
let can_pattern = match pattern {
let can_pattern = match dbg!(pattern) {
Identifier(name) => match scope.introduce(
(*name).into(),
&env.exposed_ident_ids,