$ now works for unsigned intergers with nim js (#14122)
* $(unsigned) now works for js * move NimMajor+friends closer to NimVersion according as per reviewer feedback
This commit is contained in:
parent
0e6eb96a5f
commit
a3a317b76d
4 changed files with 96 additions and 4 deletions
|
|
@ -43,6 +43,8 @@
|
|||
|
||||
- Added high-level `asyncnet.sendTo` and `asyncnet.recvFrom`. UDP functionality.
|
||||
|
||||
- `dollars.$` now works for unsigned ints with `nim js`
|
||||
|
||||
## Language changes
|
||||
- In newruntime it is now allowed to assign discriminator field without restrictions as long as case object doesn't have custom destructor. Discriminator value doesn't have to be a constant either. If you have custom destructor for case object and you do want to freely assign discriminator fields, it is recommended to refactor object into 2 objects like this:
|
||||
```nim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue