summaryrefslogtreecommitdiffstats
path: root/parsing/parser.mly
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/parser.mly')
-rw-r--r--parsing/parser.mly2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/parser.mly b/parsing/parser.mly
index b39973542..d4ae24e3e 100644
--- a/parsing/parser.mly
+++ b/parsing/parser.mly
@@ -792,7 +792,7 @@ class_simple_expr:
;
class_structure:
class_self_pattern class_fields
- { { pcstr_pat = $1; pcstr_fields = List.rev $2 } }
+ { { pcstr_self = $1; pcstr_fields = List.rev $2 } }
;
class_self_pattern:
LPAREN pattern RPAREN