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:
Folkert 2020-03-06 13:41:20 +01:00
parent b9b2f70673
commit fefac9580e
5 changed files with 55 additions and 20 deletions

View file

@ -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);
}
}