To circumvent the effect system, you can use this (since 0.20.0):
func test(unixTime: int64): bool =
{.noSideEffect.}:
let t1 = local(fromUnix(unixTime))
Run
- side effects through local() or parse() from times module dschaadt
- Re: side effects through local() or parse() from times... treeform
- Re: side effects through local() or parse() from t... Araq
- Re: side effects through local() or parse() fr... dschaadt
- Re: side effects through local() or parse(... GULPF
- Re: side effects through local() or p... juancarlospaco
- Re: side effects through local() ... treeform
- Re: side effects through loca... dschaadt
