Improve error message when we try to unify two wildcards

Closes #1931
This commit is contained in:
ayazhafiz 2021-11-21 01:42:24 -05:00
parent 8f1878bc42
commit 817bb22f9e
3 changed files with 86 additions and 16 deletions

View file

@ -4,7 +4,7 @@ use roc_collections::all::{MutMap, MutSet};
use roc_module::ident::{Lowercase, TagName};
use roc_module::symbol::{Interns, ModuleId, Symbol};
static WILDCARD: &str = "*";
pub static WILDCARD: &str = "*";
static EMPTY_RECORD: &str = "{}";
static EMPTY_TAG_UNION: &str = "[]";