Permalink
Browse files

[parser] fix: 'default' as field name

  • Loading branch information...
1 parent 569fd7e commit 73ea30a87323ad419dc210696d5ca96d0b3a01b1 @hbbio hbbio committed Jan 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/opalang/js_syntax/opa_parser.trx
@@ -333,7 +333,7 @@ just_field <- (module_field / record_field):v {{ let (f,ty) = v in (f, `valu
else
`novalue (f) in
(undecorate f, ty) }}
-field_name <- "default" / ml_identifier
+field_name <- ml_identifier / "default"
just_final_row_variable <- comma? just_implicit_row_variable:rv {{ rv }}

0 comments on commit 73ea30a

Please sign in to comment.