* make unary minus part of number literals, refs #17020 * fixes regression
This commit is contained in:
parent
465a41c308
commit
86af2f7b50
5 changed files with 173 additions and 39 deletions
|
|
@ -212,7 +212,7 @@
|
|||
|
||||
- `std/options` changed `$some(3)` to `"some(3)"` instead of `"Some(3)"`
|
||||
and `$none(int)` to `"none(int)"` instead of `"None[int]"`.
|
||||
|
||||
|
||||
- Added `algorithm.merge`.
|
||||
|
||||
|
||||
|
|
@ -263,6 +263,8 @@
|
|||
|
||||
- `typedesc[Foo]` now renders as such instead of `type Foo` in compiler messages.
|
||||
|
||||
- The unary minus in `-1` is now part of the integer literal, it is now parsed as a single token.
|
||||
This implies that edge cases like `-128'i8` finally work correctly.
|
||||
|
||||
|
||||
## Compiler changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue