We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b459f56 commit 8a9bcd3Copy full SHA for 8a9bcd3
ocaml/testsuite/tests/typing-layouts/error_message_attr.ml
@@ -196,7 +196,7 @@ Error: This expression has type bool but an expression was expected of type
196
custom message
197
|}]
198
199
-(* Doesn't work when the type mismatch happens later. This differ from
+(* Doesn't work when the type mismatch happens later. This differs from
200
the layout annotation case. *)
201
let f x: bool = (x : int)[@error_message "custom message"]
202
[%%expect{|
0 commit comments