mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
expose rigids introduced by builtins
they aren't used yet, because their names can 'leak'. Not sure what the best way forward is here
This commit is contained in:
parent
b9b2f70673
commit
fefac9580e
5 changed files with 55 additions and 20 deletions
|
@ -199,7 +199,7 @@ pub fn canonicalize_defs<'a>(
|
|||
region: loc_lowercase.region,
|
||||
});
|
||||
} else {
|
||||
panic!("TODO handle phantom type variables, they are not allowed!");
|
||||
panic!("TODO handle phantom type variables, they are not allowed!\nThe {:?} variable in the definition of {:?} gives trouble", loc_lowercase, symbol);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue