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 c6278ce commit 01bea87Copy full SHA for 01bea87
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