daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Feb 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/parsing/parser.mly b/parsing/parser.mly
  2. index 6210cc5..709895d 100644
  3. --- a/parsing/parser.mly
  4. +++ b/parsing/parser.mly
  5. @@ -1356,6 +1356,8 @@ expr:
  6.        { unclosed "object" 1 "end" 4 }
  7.    | expr attribute
  8.        { Exp.attr $1 $2 }
  9. +  | LPAREN COLON core_type RPAREN expr %prec below_SHARP
  10. +      { mkexp (Pexp_constraint ($5, $3)) }
  11.  ;
  12.  simple_expr:
  13.      val_longident
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top