followup #18759: make compiler build cleanly with 0 warnings/hints (#18764)

This commit is contained in:
Timothee Cour
2021-08-28 16:34:27 -07:00
committed by GitHub
parent 719718df2f
commit 014edde36a
2 changed files with 4 additions and 4 deletions

View File

@@ -10,8 +10,6 @@
# this module does the semantic checking of type declarations
# included from sem.nim
import math
const
errStringOrIdentNodeExpected = "string or ident node expected"
errStringLiteralExpected = "string literal expected"

View File

@@ -15,10 +15,12 @@ from std/math import sqrt, ln, log10, log2, exp, round, arccos, arcsin,
lgamma
when declared(math.copySign):
from std/math import copySign
# pending bug #18762, avoid renaming math
from std/math as math2 import copySign
when declared(math.signbit):
from std/math import signbit
# ditto
from std/math as math3 import signbit
from std/os import getEnv, existsEnv, delEnv, putEnv, dirExists, fileExists, walkDir,
getAppFilename, raiseOSError, osLastError