changelog entry
This commit is contained in:
parent
84db658eb4
commit
80843373ba
2 changed files with 3 additions and 1 deletions
|
|
@ -55,6 +55,8 @@ proc enumToString*(enums: openArray[enum]): string =
|
|||
slightly. The `dumpLisp` macro in this module now outputs an
|
||||
indented proper Lisp, devoid of commas.
|
||||
|
||||
- In `strutils` empty strings now no longer matched as substrings anymore.
|
||||
|
||||
### Language additions
|
||||
|
||||
- Vm suport for float32<->int32 and float64<->int64 casts was added.
|
||||
|
|
|
|||
|
|
@ -2614,7 +2614,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue