ucsd-progsys/liquidhaskell
GitHub で見るTermination error messages do not follow standard GHC format
Open
#1,961 opened on 2022年4月4日
good first issue
説明
When checking tests/neg/AutoSize.hs, the folllowing is output:
**** LIQUID: UNSAFE ************************************************************
neg/AutoSize.hs:19:1: error:
Termination Error
AutoSize.expSize
No decreasing parameter
|
19 | expSize (EConst _) = 0
| ^^^^^^^
Compare with:
**** LIQUID: UNSAFE ************************************************************
neg/Ast.hs:55:1: error:
Liquid Type Mismatch
.
The inferred type
VV : Ast.AstIndex
.
is not a subtype of the required type
VV : {VV : Ast.AstIndex | Ast.isTypeIndex VV}
.
Constraint id 1
|
55 | wrong = id1 astExpr
|
and you can see the leading whitespace differences.