Skip to content
Browse files

[fix] compiler, syntax: sum type

  • Loading branch information...
1 parent 5b9dff2 commit 1d8088c391fb13444a06bc6bb8b3bb4c221abbc2 @BourgerieQuentin BourgerieQuentin committed Feb 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 opalang/js_syntax/opa_parser.trx
View
2 opalang/js_syntax/opa_parser.trx
@@ -380,7 +380,7 @@ type_without_arrow = deco(just_type_without_arrow)
just_type_without_arrow <- type_sum
/ just_type_without_sum
-type_sum <- (=infix(Opa_lexer.or))? (=list1(type_sum_element,(=infix(Opa_lexer.or)))):l end_of_type_sum:o
+type_sum <- Opa_lexer.or? (=list1(type_sum_element,Opa_lexer.or)):l end_of_type_sum:o
{{ match l,o with
| [h], None ->
( match undecorate h with

0 comments on commit 1d8088c

Please sign in to comment.
Something went wrong with that request. Please try again.