* fixes #17173

* add testcase (#17214)

* Apply suggestions from code review

* fix for newruntime

* Apply suggestions from code review

* Update lib/system.nim

* Update lib/system.nim

* Update lib/system.nim

Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>

Co-authored-by: flywind <xzsflywind@gmail.com>
Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
This commit is contained in:
Andreas Rumpf
2021-03-01 20:58:12 +01:00
committed by GitHub
parent c625ce80cb
commit bb0c19f42c
5 changed files with 33 additions and 2 deletions

10
tests/arc/t17173.nim Normal file
View File

@@ -0,0 +1,10 @@
discard """
matrix: "--gc:refc; --gc:arc; --newruntime"
"""
import std/strbasics
var a = " vhellov "
strip(a)
doAssert a == "vhellov"