nponeccop/HNC

Eliminate unused actual parameters

Opened this issue · 1 comments

hn_tests/opt/euler6-7.hn:

hnMain = {
        natr f = 6
        print (natr natr)
}

natr natr can be substituted for natr 0 (or other suitable placeholder argument) so natr can be inlined.

Fixed. See opt/euler6-7.hn - natr is properly inlined