haste-compiler
haste-compiler copied to clipboard
We get error "Uncaught #<T2>"
- Build https://github.com/tokiwoousaka/bucephalus-base as "make check_haste". (hastec version is 0.5.3)
- Build https://github.com/tokiwoousaka/bucephalus-haste as "haste-cabal build", Then we get file "app/Check.js".
- Open app/index.html on chromium browser(47.0.2526.73), Then got error "Uncaught #<T2>". if you use Firefox(43.0) browser, then you would get error "uncaught exception: [object Object]"
I tougth cause is here -> https://github.com/tokiwoousaka/bucephalus-haste/blob/master/src/Game/Bucephalus/Haste.hs#L46, but no type error.
Thanks.
The actual cause of the exception is most likely an uncaught Haskell exception getting thrown somewhere. The top level handler is not very good at producing sensible error messages from uncaught exceptions at the moment.