diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2018-05-05 21:14:48 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@gmail.com> | 2018-06-17 23:26:18 +0100 |
commit | 03b073d541e899585951fb51896ce4440f94387b (patch) | |
tree | 9f07c9ce993dd2c5088ca18e6e699ba887abb044 /lib/pure | |
parent | 9e8623785577aff8ecffaea27f8cdc0d98c1edb1 (diff) | |
download | Nim-03b073d541e899585951fb51896ce4440f94387b.tar.gz |
Workaround VM bug in strutils
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/strutils.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index 055e91faf..ab34a0b2d 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -17,8 +17,9 @@ import parseutils from math import pow, round, floor, log10 from algorithm import reverse -from unicode import toLower, toUpper -export toLower, toUpper +when defined(nimVmExportFixed): + from unicode import toLower, toUpper + export toLower, toUpper {.deadCodeElim: on.} # dce option deprecated |