@@ -6,10 +6,6 @@ File "w53.ml", line 12, characters 4-5:
6612 | let h x = x [@inline] (* rejected *)
77 ^
88Warning 32 [unused-value-declaration]: unused value h.
9- File "w53.ml", line 334, characters 2-33:
10- 334 | let x : int64 = 42L [@@noalloc] (* rejected *)
11- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12- Warning 53 [misplaced-attribute]: the "noalloc" attribute cannot appear in this context
139File "w53.ml", line 12, characters 14-20:
141012 | let h x = x [@inline] (* rejected *)
1511 ^^^^^^
@@ -558,6 +554,10 @@ File "w53.ml", line 333, characters 19-26:
558554333 | type s1 = Foo1 [@noalloc] (* rejected *)
559555 ^^^^^^^
560556Warning 53 [misplaced-attribute]: the "noalloc" attribute cannot appear in this context
557+ File "w53.ml", line 334, characters 25-32:
558+ 334 | let x : int64 = 42L [@@noalloc] (* rejected *)
559+ ^^^^^^^
560+ Warning 53 [misplaced-attribute]: the "noalloc" attribute cannot appear in this context
561561File "w53.ml", line 336, characters 24-31:
562562336 | external y : (int64 [@noalloc]) -> (int64 [@noalloc]) = "x" (* rejected *)
563563 ^^^^^^^
@@ -590,3 +590,51 @@ File "w53.ml", line 352, characters 22-30:
590590352 | let x : int = 42 [@@untagged] (* rejected *)
591591 ^^^^^^^^
592592Warning 53 [misplaced-attribute]: the "untagged" attribute cannot appear in this context
593+ File "w53.ml", line 359, characters 21-25:
594+ 359 | type 'a t1 = 'a [@@poll error] (* rejected *)
595+ ^^^^
596+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
597+ File "w53.ml", line 360, characters 19-23:
598+ 360 | type s1 = Foo1 [@poll error] (* rejected *)
599+ ^^^^
600+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
601+ File "w53.ml", line 361, characters 19-23:
602+ 361 | val x : int64 [@@poll error] (* rejected *)
603+ ^^^^
604+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
605+ File "w53.ml", line 363, characters 24-28:
606+ 363 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
607+ ^^^^
608+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
609+ File "w53.ml", line 363, characters 49-53:
610+ 363 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
611+ ^^^^
612+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
613+ File "w53.ml", line 365, characters 39-43:
614+ 365 | external z : int64 -> int64 = "x" [@@poll error] (* rejected *)
615+ ^^^^
616+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
617+ File "w53.ml", line 369, characters 21-25:
618+ 369 | type 'a t1 = 'a [@@poll error] (* rejected *)
619+ ^^^^
620+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
621+ File "w53.ml", line 370, characters 19-23:
622+ 370 | type s1 = Foo1 [@poll error] (* rejected *)
623+ ^^^^
624+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
625+ File "w53.ml", line 371, characters 25-29:
626+ 371 | let x : int64 = 42L [@@poll error] (* rejected *)
627+ ^^^^
628+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
629+ File "w53.ml", line 374, characters 24-28:
630+ 374 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
631+ ^^^^
632+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
633+ File "w53.ml", line 374, characters 49-53:
634+ 374 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
635+ ^^^^
636+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
637+ File "w53.ml", line 376, characters 39-43:
638+ 376 | external z : int64 -> int64 = "x" [@@poll error] (* rejected *)
639+ ^^^^
640+ Warning 53 [misplaced-attribute]: the "poll" attribute cannot appear in this context
0 commit comments