summary refs log tree commit diff stats
path: root/tests/system/tnilconcats.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix segfault when calling shallow() on an empty string (#9782) [backport]Ștefan Talpalaru2018-11-221-0/+7
| | | | | | | | | shallow() casts its string argument to a seq and then tries to access its fields. Guess what happens when that string is nil, which seems to be the representation of an empty string (both the default value and an explicitly assigned ""). Segfault encountered when running "ntags -R ." on a large project. The relevant line: https://bitbucket.org/nimcontrib/ntags/src/a1c62c38e539877c105fbe4e08d06b76232f8017/ntags.nim#lines-125
* deprecate isNil for strings and seqsAraq2018-08-081-1/+1
|
* nil in string concats does not produce crashes anymoreAndreas Rumpf2018-04-271-0/+25