on master help sign in
Turn off unary negation parsing for now. It has weird behavior when
90d50dbEvan Czaplicki
compiler/Parse/Expression.hs+1−1
@@ -126,7 +126,7 @@ recordTerm = brackets $ choice [ misc, addLocation record ]
126
126
127
127
128term :: IParser (LExpr t v)
128term :: IParser (LExpr t v)
129−term = addLocation (choice [ Literal <$> literal, listTerm, accessor, negative ])
129+term = addLocation (choice [ Literal <$> literal, listTerm, accessor ])
130 <|> accessible (addLocation varTerm <|> parensTerm <|> recordTerm)
130 <|> accessible (addLocation varTerm <|> parensTerm <|> recordTerm)
131 <?> "basic term (4, x, 'c', etc.)"
131 <?> "basic term (4, x, 'c', etc.)"
132
132