nponeccop/HNC

Optimization of locals10.hn fails to inline tmp

Closed this issue · 1 comments

HN source:

hnMain = {
    a = 5
    tmp z = print a
    tmp 7
}

Expected result:

hnMain = print 5

Actual result:

hnMain = {
    tmp z = print 5
    tmp 7
}

Fixed