diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2023-06-10 02:09:03 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-10 07:09:03 +0200 |
commit | b2d77619757c73a8b14a8ccf127eaf3e630159cf (patch) | |
tree | 346effaff0b8a9b6bbf702555a2bca10c5a87374 /compiler/semexprs.nim | |
parent | 65c412e3f01bc00f5c6f318edfbfe561ab1bf438 (diff) | |
download | Nim-b2d77619757c73a8b14a8ccf127eaf3e630159cf.tar.gz |
Remove Deprecated Nimfix (#22062)
* Remove Deprecated Nimfix * Trailing whitespace cleanups
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r-- | compiler/semexprs.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 6b4e27394..53c0790fe 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -2614,7 +2614,7 @@ proc semSetConstr(c: PContext, n: PNode, expectedType: PType = nil): PNode = typ = makeRangeType(c, 0, MaxSetElements-1, n.info) elif isIntLit(typ): # set of int literal, use a default range smaller than the max range - typ = makeRangeType(c, 0, DefaultSetElements-1, n.info) + typ = makeRangeType(c, 0, DefaultSetElements-1, n.info) elif lengthOrd(c.config, typ) > MaxSetElements: message(c.config, n.info, warnAboveMaxSizeSet, "type '" & typeToString(typ, preferDesc) & "' is too big to be a `set` element, " & @@ -3107,8 +3107,6 @@ proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}, expectedType: PType c.isAmbiguous = false var s = qualifiedLookUp(c, n[0], mode) if s != nil: - #if c.config.cmd == cmdNimfix and n[0].kind == nkDotExpr: - # pretty.checkUse(n[0][1].info, s) case s.kind of skMacro, skTemplate: result = semDirectOp(c, n, flags, expectedType) |