testsuite/tests/letrec-check/pr7231.ocaml.reference
raw| 1 | Line 5, characters 58-64: |
| 2 | 5 | let rec r = let rec x () = r and y () = x () in y () in r "oops";; |
| 3 | ^^^^^^ |
| 4 | Warning 20 [ignored-extra-argument]: this argument will not be used by the function. |
| 5 | |
| 6 | Line 5, characters 12-52: |
| 7 | 5 | let rec r = let rec x () = r and y () = x () in y () in r "oops";; |
| 8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 9 | Error: This kind of expression is not allowed as right-hand side of let rec |
| 10 |