You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Following #270, which has been fixed for usual cases, some terms still make the typechecker loop. The occurs check is not implemented, hence the inference of terms introducing recursive equations crashes.
To Reproduce
nickel typecheck <<< '{g = g 0}.g : Num'
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Expected behavior
The typechecker should reject such terms without crashing.
The text was updated successfully, but these errors were encountered:
Describe the bug
Following #270, which has been fixed for usual cases, some terms still make the typechecker loop. The occurs check is not implemented, hence the inference of terms introducing recursive equations crashes.
To Reproduce
Expected behavior
The typechecker should reject such terms without crashing.
The text was updated successfully, but these errors were encountered: