mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-28 17:41:45 +00:00
breaking change: 'and' and 'mod' do not produce a subrange type anymore; fixes #5854
This commit is contained in:
@@ -550,7 +550,6 @@ proc evalAtCompileTime(c: PContext, n: PNode): PNode =
|
||||
result = semfold.getConstExpr(c.module, call)
|
||||
if result.isNil: result = n
|
||||
else: return result
|
||||
result.typ = semfold.getIntervalType(callee.magic, call)
|
||||
|
||||
block maybeLabelAsStatic:
|
||||
# XXX: temporary work-around needed for tlateboundstatic.
|
||||
|
||||
Reference in New Issue
Block a user