Closed timotheecour closed 6 years ago
Thanks! I fixed the first one before seeing this PR (sorry). The second one will break Nim <= 0.18.0
though because it's only called sugar
in Nim devel
. We could do something like:
when (NimMajor, NimMinor, NimPatch) > (0, 18, 0):
import sugar
else:
import future
But it's just a warning/deprecation so not sure it's necessary quite yet.