faylang / fay

A proper subset of Haskell that compiles to JavaScript
https://github.com/faylang/fay/wiki
BSD 3-Clause "New" or "Revised" License
1.29k stars 86 forks source link

Data.Var broken due to breaking change in treating values having type containing a variable #435

Closed ryskajakub closed 9 years ago

ryskajakub commented 9 years ago

It looks like that 0.23.0.0 introduced a bug in Data.Var, every a now behaves as Automatic a.

Then the module Data.Var doesn't behave how I expect it to behave, it the version that I used before, that is 0.21.*, there were no runtime errors during the execution of the program in browser.

Wrapping the types having a variable in Ptr solves the issue for me.