Fix compilation error on older Nim versions
このコミットが含まれているのは:
コミット
92ace2bf70
|
@ -7,4 +7,9 @@
|
||||||
# disable annoying warnings
|
# disable annoying warnings
|
||||||
warning("GcUnsafe2", off)
|
warning("GcUnsafe2", off)
|
||||||
warning("ObservableStores", off)
|
warning("ObservableStores", off)
|
||||||
warning("HoleEnumConv", off)
|
|
||||||
|
const
|
||||||
|
nimVersion = (major: NimMajor, minor: NimMinor, patch: NimPatch)
|
||||||
|
|
||||||
|
when nimVersion >= (1, 6, 0):
|
||||||
|
warning("HoleEnumConv", off)
|
||||||
|
|
新しいイシューから参照