Files
Nim/lib
rockcavera afa4bc34b4 Fix #19297 - fixing broken list after adding empty list (#19299)
* Update lists.nim

* Update tlists.nim

* removed check `if b.tail != nil`

The tail of the list being null it is still possible to retrieve its end by going through all nodes from the head. So checking for null from `b.tail` is unnecessary. However, setting `a.tail = b.tail` only if `a.head != nil`, so you don't break a good list with an already broken one.

(cherry picked from commit dc5c88ca79)
2021-12-31 05:14:05 +01:00
..
2017-02-20 17:24:19 +02:00
2021-04-09 16:29:10 +02:00
2021-08-26 23:07:54 +02:00
2021-07-20 20:12:15 +08:00
2021-07-20 20:12:15 +08:00
2013-03-16 23:53:07 +01:00
2021-06-03 14:00:53 +02:00
2021-04-07 23:26:53 +02:00
2021-08-29 09:18:54 +02:00
2021-12-18 17:47:12 +01:00