summaryrefslogtreecommitdiffstats
path: root/testsuite/tests/typing-objects/pr6123_bad.ml.reference
blob: eb3b05c083864224ae25c7f83c7f879d24f27715 (plain)
1
2
3
4
5
6
7
8

#                                             Characters 253-257:
        let args = List.map (fun ty -> new argument(self, ty)) args_ty in
                                                    ^^^^
Error: This expression has type < arguments : 'a; .. >
       but an expression was expected of type 'b
       Self type cannot escape its class
#