Open litlighilit opened 5 months ago
import pylib import std/sequtils discard filter(None, [1,0,3]).toSeq # <-- deadloop here
Nim: any pylib: 0.9.0
There is a workaround, see below.
If using closure, then everthing is fine:
let filt = filter(None, [1, 0, 3]) discard filt.toSeq
Desc
Version
Nim: any pylib: 0.9.0
Possible Solution
There is a workaround, see below.
Additional Info
If using closure, then everthing is fine: