diff options
| author | Alasdair | 2020-03-19 23:09:54 +0000 |
|---|---|---|
| committer | Alasdair | 2020-03-19 23:30:08 +0000 |
| commit | fe87bb2c265fde375a1977f8e38c0b1e9162872a (patch) | |
| tree | dce96c015b52f4ef0dc6021df3aff5e2c7a13ff6 /src/pattern_completeness.mli | |
| parent | b603e4d7e7008db4f520cdd29badf46147a3f78b (diff) | |
Improve a particularly unhelpful type error
From:
No type variable 'ex14#
to:
Type error:
[../and_let_bool.sail]:6:19-50
6 | and_bool(let y : bool = x in not_bool(y), x)
| ^-----------------------------^
| The type variable 'ex14# would leak into an outer scope.
|
| Try adding a type annotation to this expression.
| This error was caused by:
| [../and_let_bool.sail]:6:23-24
| 6 | and_bool(let y : bool = x in not_bool(y), x)
| | ^
| | Type variable 'ex14# was introduced here
|
Diffstat (limited to 'src/pattern_completeness.mli')
0 files changed, 0 insertions, 0 deletions
