Debian Codegraph @

testsuite/tests/tool-toplevel/pr6468.compilers.reference

raw
1 - : unit = ()
2 val f : unit -> 'a = <fun>
3 Line 1, characters 11-15:
4 1 | let g () = f (); 1;;
5 ^^^^
6 Warning 21 [nonreturning-statement]: this statement never returns (or has an unsound type.)
7
8 val g : unit -> int = <fun>
9 Exception: Not_found.
10 Raised at f in file "//toplevel//", line 2, characters 11-26
11 Called from g in file "//toplevel//", line 1, characters 11-15
12 Called from <unknown> in file "//toplevel//", line 1, characters 0-4
13 Called from Topeval.load_lambda in file "toplevel/byte/topeval.ml", line 93, characters 4-14
14