bugfix: readline wrapper; bugfix: evaluation of type conversions
This commit is contained in:
parent
55c4074647
commit
5c7e3efbc3
10 changed files with 57 additions and 40 deletions
|
|
@ -720,7 +720,7 @@ proc transform(c: PTransf, n: PNode): PTransNode =
|
|||
result = transformSons(c, n)
|
||||
var cnst = getConstExpr(c.module, PNode(result))
|
||||
if cnst != nil:
|
||||
result = PTransNode(cnst) # do not miss an optimization
|
||||
result = PTransNode(cnst) # do not miss an optimization
|
||||
|
||||
proc processTransf(context: PPassContext, n: PNode): PNode =
|
||||
# Note: For interactive mode we cannot call 'passes.skipCodegen' and skip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue