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
If you write the wrong thing for a return type (e.g. bool instead of Bool), the error message is phrased in terms of 'iType', a word the user never wrote.
Steps to Reproduce
error : a -> bool
error _ = True
Expected Behavior
Idris> :l error
Type checking ./error.idr
error.idr:3:11-14:
|
3 | error _ = True
| ~~~~
When checking right hand side of error with expected type
bool (return type of error.error)
Type mismatch between
Bool (Type of True)
and
bool (Expected type)
Idris> :l error
Type checking ./error.idr
error.idr:3:11-14:
|
3 | error _ = True
| ~~~~
When checking right hand side of error with expected type
iType
Type mismatch between
Bool (Type of True)
and
iType (Expected type)
Holes: Main.error
The text was updated successfully, but these errors were encountered:
If you write the wrong thing for a return type (e.g. bool instead of Bool), the error message is phrased in terms of 'iType', a word the user never wrote.
Steps to Reproduce
error : a -> bool
error _ = True
Expected Behavior
Idris> :l error
Type checking ./error.idr
error.idr:3:11-14:
|
3 | error _ = True
| ~~~~
When checking right hand side of error with expected type
bool (return type of error.error)
Type mismatch between
Bool (Type of True)
and
bool (Expected type)
error.idr.txt
Holes: Main.error
Observed Behavior
Idris> :l error
Type checking ./error.idr
error.idr:3:11-14:
|
3 | error _ = True
| ~~~~
When checking right hand side of error with expected type
iType
Type mismatch between
Bool (Type of True)
and
iType (Expected type)
Holes: Main.error
The text was updated successfully, but these errors were encountered: