mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Do not use const fx vars when canonicalizing annotations
This commit is contained in:
parent
7776883262
commit
b9b85a222f
4 changed files with 65 additions and 20 deletions
|
@ -752,6 +752,16 @@ pub(crate) fn type_to_var_help(
|
|||
|
||||
env.register_with_known_var(destination, rank, content)
|
||||
}
|
||||
Pure => {
|
||||
let content = Content::Pure;
|
||||
|
||||
env.register_with_known_var(destination, rank, content)
|
||||
}
|
||||
Effectful => {
|
||||
let content = Content::Effectful;
|
||||
|
||||
env.register_with_known_var(destination, rank, content)
|
||||
}
|
||||
Error => {
|
||||
let content = Content::Error;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue