Chris Smith
Chris Smith
This is often caused by popup blockers. Can you check if you have one, and if so, whether disabling it fixes the issue?
If that's not it, then it would be helpful if you check the JavaScript console for errors.
I don't know how to detect and deal with adblock. This is a dup of https://github.com/google/codeworld/issues/64 and https://github.com/google/codeworld/issues/1075, so this has definitely come up before.
I'll leave this one open, since it has more information, and close that one as the dup
The error is detected when EOF is found, but that means there's a bunch of whitespace separating the reported error from the actual error location. This seems like it ought...
Interesting that even adding `HasCallStack` to the function constraint doesn't yield a stack trace for a pattern match failure.
Interesting idea. I don't think it's a good idea to just enable the warning. I could see a situation where one captures the warning, feed it back at runtime somehow,...
Filed against GHC: https://gitlab.haskell.org/ghc/ghc/issues/17998
I flirted with Option 1 at https://github.com/ghc-proposals/ghc-proposals/pull/316. We'll see how the reception is.
Some time ago, I updated the default-main patch to backport recent changes from GHC. Now leaving out a module header only exports `main` if `main` is defined. Otherwise, it exports...