mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Plain number literals (e.g. 5
) are now Num *
This commit is contained in:
parent
9081b7f2d1
commit
3ecbe0325c
21 changed files with 345 additions and 223 deletions
|
@ -62,8 +62,8 @@ pub fn desugar_expr<'a>(arena: &'a Bump, loc_expr: &'a Located<Expr<'a>>) -> &'a
|
|||
match &loc_expr.value {
|
||||
Float(_)
|
||||
| Nested(Float(_))
|
||||
| Int(_)
|
||||
| Nested(Int(_))
|
||||
| Num(_)
|
||||
| Nested(Num(_))
|
||||
| NonBase10Int { .. }
|
||||
| Nested(NonBase10Int { .. })
|
||||
| Str(_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue