Skip to content

Commit

Permalink
changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
krux02 authored and narimiran committed Nov 1, 2018
1 parent 3fb34a4 commit 7da015f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
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.
Expand Down
2 changes: 1 addition & 1 deletion lib/pure/strutils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7da015f

Please sign in to comment.