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

FFI error messages got worse in 0.19 #390

Closed bitemyapp closed 10 years ago

bitemyapp commented 10 years ago

showInt = ffi "%1+''"

returns error:

fay: unable to resolve qualified names ffi

where previously in 0.18 it said:

fay: your FFI declaration needs a type signature: showInt = ffi "%1+''"

This is a regression in usability.

bergmark commented 10 years ago

This error is never thrown anymore, I'll fix it