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 89 forks source link

"Your FFI declaration needs a type signature:" issue when declaraing functions within where block. #376

Closed geraldus closed 10 years ago

geraldus commented 10 years ago

Please see my question on StackOverflow for details. Looks like a bug.

bergmark commented 10 years ago

I responded on SO. ffi declarations where the type is in the where clause isn't implemented. Should be pretty easy to fix it, it's basically the same as what we do on the top level.