Fix several float range issues (supersedes #11905) (#12067)

* Fix several float range issues

* address the comments
This commit is contained in:
Andreas Rumpf 2019-08-27 23:19:41 +02:00 • committed by GitHub
commit eaebbfa785
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 3 deletions

View file

@ -444,6 +444,7 @@ proc semAfterMacroCall(c: PContext, call, macroResult: PNode,
const
errMissingGenericParamsForTemplate = "'$1' has unspecified generic parameters"
errFloatToString = "cannot convert '$1' to '$2'"
proc semMacroExpr(c: PContext, n, nOrig: PNode, sym: PSym,
flags: TExprFlags = {}): PNode =