changelog entry

(cherry picked from commit 80843373ba)
This commit is contained in:
Arne Döring
2018-10-31 14:29:40 +01:00
committed by narimiran
parent 899ce95420
commit ae26351a0e
2 changed files with 3 additions and 1 deletions

View File

@@ -147,6 +147,8 @@
- The ``accept`` socket procedure defined in the ``net`` module can now accept
a nil socket.
- In `strutils` empty strings now no longer matched as substrings anymore.
### Language additions
- Vm suport for float32<->int32 and float64<->int64 casts was added.

View File

@@ -2581,7 +2581,7 @@ when isMainModule:
doAssert "-lda-ldz -ld abc".replaceWord("-ld") == "-lda-ldz abc"
doAssert "-lda-ldz -ld abc".replaceWord("") == "-lda-ldz -ld abc"
doAssert "oo".replace("", "abc") == "abcoabcoabc"
doAssert "oo".replace("", "abc") == "oo"
type MyEnum = enum enA, enB, enC, enuD, enE
doAssert parseEnum[MyEnum]("enu_D") == enuD