1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909
|
File "w53.ml", line 12, characters 16-21:
12 | val x : int [@alert foo "foo"] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
File "w53.ml", line 18, characters 6-11:
18 | [@@@alert foo "foo"] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
File "w53.ml", line 22, characters 14-19:
22 | let x = 5 [@alert foo "foo"] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
File "w53.ml", line 24, characters 16-21:
24 | let y = 10 [@@alert foo "foo"] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
File "w53.ml", line 26, characters 6-11:
26 | [@@@alert foo "foo"] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
File "w53.ml", line 34, characters 24-29:
34 | type t1 = { x : int [@boxed] } (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 36, characters 16-21:
36 | val x : int [@boxed] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 40, characters 17-22:
40 | val y : int [@@boxed] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 42, characters 6-11:
42 | [@@@boxed] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 46, characters 16-21:
46 | let x = (42 [@boxed], 84) (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 48, characters 16-21:
48 | let y = 10 [@@boxed] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 50, characters 6-11:
50 | [@@@boxed] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the boxed attribute cannot appear in this context
File "w53.ml", line 57, characters 16-26:
57 | val x : int [@deprecated] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated attribute cannot appear in this context
File "w53.ml", line 63, characters 6-16:
63 | [@@@deprecated] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated attribute cannot appear in this context
File "w53.ml", line 67, characters 14-24:
67 | let x = 5 [@deprecated] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated attribute cannot appear in this context
File "w53.ml", line 69, characters 16-26:
69 | let y = 10 [@@deprecated] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated attribute cannot appear in this context
File "w53.ml", line 71, characters 6-16:
71 | [@@@deprecated] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated attribute cannot appear in this context
File "w53.ml", line 76, characters 19-37:
76 | type t1 = Foo1 [@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 78, characters 16-34:
78 | val x : int [@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 80, characters 21-39:
80 | type 'a t2 = 'a [@@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 84, characters 24-42:
84 | type t4 = { x : int [@deprecated_mutable] } (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 86, characters 17-35:
86 | val y : int [@@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 88, characters 6-24:
88 | [@@@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 92, characters 14-32:
92 | let x = 5 [@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 94, characters 16-34:
94 | let y = 10 [@@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 96, characters 6-24:
96 | [@@@deprecated_mutable] (* rejected *)
^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the deprecated_mutable attribute cannot appear in this context
File "w53.ml", line 101, characters 32-46:
101 | type t1 = Foo1 of int * int [@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 103, characters 16-30:
103 | val x : int [@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 105, characters 20-34:
105 | type 'a t2 = 'a [@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 107, characters 17-31:
107 | val y : int [@@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 109, characters 6-20:
109 | [@@@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 113, characters 14-28:
113 | let x = 5 [@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 115, characters 16-30:
115 | let y = 10 [@@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 117, characters 6-20:
117 | [@@@explicit_arity] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the explicit_arity attribute cannot appear in this context
File "w53.ml", line 122, characters 18-27:
122 | type t1 = int [@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 126, characters 16-25:
126 | val x : int [@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 127, characters 17-26:
127 | val x : int [@@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 129, characters 6-15:
129 | [@@@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 130, characters 6-17:
130 | [@@@immediate64] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate64 attribute cannot appear in this context
File "w53.ml", line 134, characters 15-24:
134 | let x = (4 [@immediate], 42 [@immediate64]) (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 134, characters 32-43:
134 | let x = (4 [@immediate], 42 [@immediate64]) (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate64 attribute cannot appear in this context
File "w53.ml", line 135, characters 21-30:
135 | let y = (4, 42) [@@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 136, characters 21-32:
136 | let z = (4, 42) [@@immediate64] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate64 attribute cannot appear in this context
File "w53.ml", line 138, characters 18-27:
138 | type t1 = int [@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 142, characters 6-15:
142 | [@@@immediate] (* rejected *)
^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate attribute cannot appear in this context
File "w53.ml", line 143, characters 6-17:
143 | [@@@immediate64] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the immediate64 attribute cannot appear in this context
File "w53.ml", line 148, characters 25-31:
148 | type t1 = int -> int [@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 149, characters 26-32:
149 | type t2 = int -> int [@@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 150, characters 25-32:
150 | type t3 = int -> int [@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 151, characters 26-33:
151 | type t4 = int -> int [@@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 153, characters 24-30:
153 | val f1 : int -> int [@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 154, characters 25-31:
154 | val f2 : int -> int [@@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 155, characters 24-31:
155 | val f3 : int -> int [@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 156, characters 25-32:
156 | val f4 : int -> int [@@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 158, characters 53-59:
158 | module type F = functor (X : sig end) -> sig end [@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 159, characters 54-60:
159 | module type G = functor (X : sig end) -> sig end [@@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 161, characters 6-12:
161 | [@@@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 162, characters 6-13:
162 | [@@@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 166, characters 16-22:
166 | let h x = x [@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 167, characters 16-28:
167 | let h x = x [@ocaml.inline] (* rejected *)
^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inline attribute cannot appear in this context
File "w53.ml", line 169, characters 16-23:
169 | let i x = x [@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 170, characters 16-29:
170 | let j x = x [@ocaml.inlined] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inlined attribute cannot appear in this context
File "w53.ml", line 173, characters 18-25:
173 | let l x = h x [@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 181, characters 27-33:
181 | module C = struct end [@@inline] (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 182, characters 28-40:
182 | module C' = struct end [@@ocaml.inline] (* rejected *)
^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inline attribute cannot appear in this context
File "w53.ml", line 183, characters 27-34:
183 | module D = struct end [@@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 184, characters 28-41:
184 | module D' = struct end [@@ocaml.inlined] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inlined attribute cannot appear in this context
File "w53.ml", line 188, characters 18-24:
188 | module G = (A [@inline])(struct end) (* rejected *)
^^^^^^
Warning 53 [misplaced-attribute]: the inline attribute cannot appear in this context
File "w53.ml", line 189, characters 19-31:
189 | module G' = (A [@ocaml.inline])(struct end) (* rejected *)
^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inline attribute cannot appear in this context
File "w53.ml", line 193, characters 24-31:
193 | module I = Set.Make [@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 194, characters 25-38:
194 | module I' = Set.Make [@ocaml.inlined] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inlined attribute cannot appear in this context
File "w53.ml", line 196, characters 25-32:
196 | module J = Set.Make [@@inlined] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
File "w53.ml", line 197, characters 26-39:
197 | module J' = Set.Make [@@ocaml.inlined] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.inlined attribute cannot appear in this context
File "w53.ml", line 202, characters 21-28:
202 | type 'a t1 = 'a [@@noalloc] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 203, characters 19-26:
203 | type s1 = Foo1 [@noalloc] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 204, characters 19-26:
204 | val x : int64 [@@noalloc] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 206, characters 24-31:
206 | external y : (int64 [@noalloc]) -> (int64 [@noalloc]) = "x" (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 206, characters 46-53:
206 | external y : (int64 [@noalloc]) -> (int64 [@noalloc]) = "x" (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 211, characters 21-28:
211 | type 'a t1 = 'a [@@noalloc] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 212, characters 19-26:
212 | type s1 = Foo1 [@noalloc] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 213, characters 25-32:
213 | let x : int64 = 42L [@@noalloc] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 215, characters 24-31:
215 | external y : (int64 [@noalloc]) -> (int64 [@noalloc]) = "x" (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 215, characters 46-53:
215 | external y : (int64 [@noalloc]) -> (int64 [@noalloc]) = "x" (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the noalloc attribute cannot appear in this context
File "w53.ml", line 244, characters 21-29:
244 | type 'a t1 = 'a [@@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 245, characters 19-27:
245 | type s1 = Foo1 [@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 246, characters 16-24:
246 | val x : int [@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 248, characters 35-43:
248 | external z : int -> int = "x" [@@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 250, characters 6-14:
250 | [@@@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 254, characters 21-29:
254 | type 'a t1 = 'a [@@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 255, characters 19-27:
255 | type s1 = Foo1 [@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 257, characters 16-24:
257 | let m x = x [@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 258, characters 16-30:
258 | let n x = x [@ocaml.tailcall] (* rejected *)
^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the ocaml.tailcall attribute cannot appear in this context
File "w53.ml", line 261, characters 18-26:
261 | let q x = m x [@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 263, characters 35-43:
263 | external z : int -> int = "x" [@@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 265, characters 6-14:
265 | [@@@tailcall] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the tailcall attribute cannot appear in this context
File "w53.ml", line 270, characters 24-31:
270 | type t1 = { x : int [@unboxed] } (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 272, characters 16-23:
272 | val x : int [@unboxed] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 276, characters 17-24:
276 | val y : int [@@unboxed] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 280, characters 6-13:
280 | [@@@unboxed] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 284, characters 16-23:
284 | let x = (42 [@unboxed], 84) (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 286, characters 16-23:
286 | let y = 10 [@@unboxed] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 290, characters 6-13:
290 | [@@@unboxed] (* rejected *)
^^^^^^^
Warning 53 [misplaced-attribute]: the unboxed attribute cannot appear in this context
File "w53.ml", line 295, characters 21-29:
295 | type 'a t1 = 'a [@@untagged] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the untagged attribute cannot appear in this context
File "w53.ml", line 296, characters 19-27:
296 | type s1 = Foo1 [@untagged] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the untagged attribute cannot appear in this context
File "w53.ml", line 297, characters 17-25:
297 | val x : int [@@untagged] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the untagged attribute cannot appear in this context
File "w53.ml", line 304, characters 21-29:
304 | type 'a t1 = 'a [@@untagged] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the untagged attribute cannot appear in this context
File "w53.ml", line 305, characters 19-27:
305 | type s1 = Foo1 [@untagged] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the untagged attribute cannot appear in this context
File "w53.ml", line 306, characters 22-30:
306 | let x : int = 42 [@@untagged] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the untagged attribute cannot appear in this context
File "w53.ml", line 314, characters 24-32:
314 | type t1 = { x : int [@unrolled 42] } (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 315, characters 27-35:
315 | type t2 = { x : int } [@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 317, characters 23-31:
317 | val f : int -> int [@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 318, characters 24-32:
318 | val g : int -> int [@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 320, characters 39-47:
320 | external z : float -> float = "x" [@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 322, characters 6-14:
322 | [@@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 326, characters 8-16:
326 | let [@unrolled 42] rec test_unrolled x = (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 333, characters 24-32:
333 | type t1 = { x : int [@unrolled 42] } (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 334, characters 27-35:
334 | type t2 = { x : int } [@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 336, characters 22-30:
336 | let rec f x = f x [@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 337, characters 23-31:
337 | let rec f x = f x [@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 339, characters 39-47:
339 | external z : int -> int = "x" "y" [@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 341, characters 6-14:
341 | [@@@unrolled 42] (* rejected *)
^^^^^^^^
Warning 53 [misplaced-attribute]: the unrolled attribute cannot appear in this context
File "w53.ml", line 390, characters 25-48:
390 | | Lit_pat2 of int [@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 394, characters 16-39:
394 | val x : int [@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 396, characters 21-44:
396 | type 'a t2 = 'a [@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 398, characters 17-40:
398 | val y : int [@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 400, characters 6-29:
400 | [@@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 406, characters 25-48:
406 | | Lit_pat2 of int [@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 408, characters 14-37:
408 | let x = 5 [@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 410, characters 16-39:
410 | let y = 10 [@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 412, characters 6-29:
412 | [@@@warn_on_literal_pattern] (* rejected *)
^^^^^^^^^^^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the warn_on_literal_pattern attribute cannot appear in this context
File "w53.ml", line 421, characters 21-25:
421 | type 'a t1 = 'a [@@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 422, characters 19-23:
422 | type s1 = Foo1 [@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 423, characters 19-23:
423 | val x : int64 [@@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 425, characters 24-28:
425 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 425, characters 49-53:
425 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 427, characters 39-43:
427 | external z : int64 -> int64 = "x" [@@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 431, characters 21-25:
431 | type 'a t1 = 'a [@@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 432, characters 19-23:
432 | type s1 = Foo1 [@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 433, characters 25-29:
433 | let x : int64 = 42L [@@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 436, characters 24-28:
436 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 436, characters 49-53:
436 | external y : (int64 [@poll error]) -> (int64 [@poll error]) = (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 438, characters 39-43:
438 | external z : int64 -> int64 = "x" [@@poll error] (* rejected *)
^^^^
Warning 53 [misplaced-attribute]: the poll attribute cannot appear in this context
File "w53.ml", line 443, characters 21-31:
443 | type 'a t1 = 'a [@@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 444, characters 19-29:
444 | type s1 = Foo1 [@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 445, characters 19-29:
445 | val x : int64 [@@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 447, characters 24-34:
447 | external y : (int64 [@specialise]) -> (int64 [@specialise]) = (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 447, characters 49-59:
447 | external y : (int64 [@specialise]) -> (int64 [@specialise]) = (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 449, characters 39-49:
449 | external z : int64 -> int64 = "x" [@@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 453, characters 21-31:
453 | type 'a t1 = 'a [@@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 454, characters 19-29:
454 | type s1 = Foo1 [@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 455, characters 25-35:
455 | let x : int64 = 42L [@@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 457, characters 16-26:
457 | let g x = (f[@specialise]) x (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 459, characters 24-34:
459 | external y : (int64 [@specialise]) -> (int64 [@specialise]) = (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 459, characters 49-59:
459 | external y : (int64 [@specialise]) -> (int64 [@specialise]) = (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 461, characters 39-49:
461 | external z : int64 -> int64 = "x" [@@specialise] (* rejected *)
^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialise attribute cannot appear in this context
File "w53.ml", line 466, characters 21-32:
466 | type 'a t1 = 'a [@@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 467, characters 19-30:
467 | type s1 = Foo1 [@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 468, characters 19-30:
468 | val x : int64 [@@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 470, characters 24-35:
470 | external y : (int64 [@specialised]) -> (int64 [@specialised]) = (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 470, characters 50-61:
470 | external y : (int64 [@specialised]) -> (int64 [@specialised]) = (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 472, characters 39-50:
472 | external z : int64 -> int64 = "x" [@@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 476, characters 21-32:
476 | type 'a t1 = 'a [@@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 477, characters 19-30:
477 | type s1 = Foo1 [@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 478, characters 25-36:
478 | let x : int64 = 42L [@@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 479, characters 8-19:
479 | let [@specialised] f x = x (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 482, characters 24-35:
482 | external y : (int64 [@specialised]) -> (int64 [@specialised]) = (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 482, characters 50-61:
482 | external y : (int64 [@specialised]) -> (int64 [@specialised]) = (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 484, characters 39-50:
484 | external z : int64 -> int64 = "x" [@@specialised] (* rejected *)
^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the specialised attribute cannot appear in this context
File "w53.ml", line 489, characters 21-34:
489 | type 'a t1 = 'a [@@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 490, characters 19-32:
490 | type s1 = Foo1 [@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 491, characters 19-32:
491 | val x : int64 [@@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 493, characters 24-37:
493 | external y : (int64 [@tail_mod_cons]) -> (int64 [@tail_mod_cons]) =
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 493, characters 52-65:
493 | external y : (int64 [@tail_mod_cons]) -> (int64 [@tail_mod_cons]) =
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 496, characters 39-52:
496 | external z : int64 -> int64 = "x" [@@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 500, characters 21-34:
500 | type 'a t1 = 'a [@@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 501, characters 19-32:
501 | type s1 = Foo1 [@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 502, characters 25-38:
502 | let x : int64 = 42L [@@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 504, characters 16-29:
504 | let g x = (f[@tail_mod_cons]) x (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 506, characters 24-37:
506 | external y : (int64 [@tail_mod_cons]) -> (int64 [@tail_mod_cons]) =
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 506, characters 52-65:
506 | external y : (int64 [@tail_mod_cons]) -> (int64 [@tail_mod_cons]) =
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 509, characters 39-52:
509 | external z : int64 -> int64 = "x" [@@tail_mod_cons] (* rejected *)
^^^^^^^^^^^^^
Warning 53 [misplaced-attribute]: the tail_mod_cons attribute cannot appear in this context
File "w53.ml", line 515, characters 10-15:
515 | [@@@alert foo "foo"] (* rejected *)
^^^^^
Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context
|