summaryrefslogtreecommitdiff
path: root/src/interactive.ml
diff options
context:
space:
mode:
authorAlasdair2020-03-19 23:09:54 +0000
committerAlasdair2020-03-19 23:30:08 +0000
commitfe87bb2c265fde375a1977f8e38c0b1e9162872a (patch)
treedce96c015b52f4ef0dc6021df3aff5e2c7a13ff6 /src/interactive.ml
parentb603e4d7e7008db4f520cdd29badf46147a3f78b (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/interactive.ml')
0 files changed, 0 insertions, 0 deletions