Permalink
Browse files

[fix] compiler, parser: use tail coerce for sugared list (while expor…

…t of cyclic type is fixed)
  • Loading branch information...
1 parent 9c3eff9 commit 0e06f6e8b89c604bb99aae0a16099ddeeb823d45 @BourgerieQuentin BourgerieQuentin committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 opalang/js_syntax/opa_parser.trx
@@ -940,7 +940,7 @@ list <-
/ lbracket (=list0(Action.action,comma)):l pos:p comma? (Opa_lexer.BAR expr:e {{e}})?:tl rbracket
{{ undecorate (list_expr_of_expr_list ?tl l p) }}
/ lbracket (=list0(expr, comma)):l pos:p comma? (Opa_lexer.BAR expr:e {{e}})?:tl rbracket
- {{ undecorate (list_expr_of_expr_openlist ?tl l p) }}
+ {{ undecorate (list_expr_of_expr_list_tail_coerce ?tl l p) }}
(* ******************************************************************)

0 comments on commit 0e06f6e

Please sign in to comment.