nponeccop / HNC

HN Compiler
GNU Lesser General Public License v3.0
62 stars 5 forks source link

Optimization of flip3a-2.hn loses an argument #42

Closed nponeccop closed 11 years ago

nponeccop commented 11 years ago

HN source:

main = {
    flip f x = f x
    flip incr 3
}

Actual result:

main = incr

Expected result:

main = incr 3