From 6e7190d226e9bf97c2ea26b1c9e6419c12273bfa Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Mon, 9 Dec 2013 23:31:05 +0100 Subject: Added rudimentary support for typing class-using expressions ; bug corrections. --- src/parser.mly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.mly') diff --git a/src/parser.mly b/src/parser.mly index 5594430..71c7842 100644 --- a/src/parser.mly +++ b/src/parser.mly @@ -123,7 +123,7 @@ cls_proto: LPAREN args = separated_list(COMMA, typed_var) RPAREN { {p_ret_type = None; p_name = cls; - p_class = Some cls; + p_class = None; p_args = args; p_loc = $startpos, $endpos } } ; -- cgit v1.2.3