mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-21 15:28:15 +03:00
587 B
587 B
This should not typecheck - the inline @eval
expression uses abilities.
ability Abort where abort : x
ex = {{ @eval{abort} }}
The expression in red needs the {Abort} ability, but this location does not have access to any abilities.
3 | ex = {{ @eval{abort} }}
This file should also not typecheck - it has a triple backticks block that uses abilities.
.> load unison-src/transcripts/fix2238.u
The expression in red needs the {Abort} ability, but this location does not have access to any abilities.
7 | abort + 1