-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Shake html code, as a test #29
Comments
This is a good test case. I've made some changes to have it successfully pass the current version of infernu. Here's the changed version: https://gist.github.com/sinelaw/e9b394cade8642e4a9c6
Infernu doesn't assume
Also, other issues. |
Does infernu account for key stringification? |
When types are not otherwise restricted It can't assume bracket causes
|
Shake has a bunch of somewhat-functional Javascript, written by a functional programmer. It might serve as a good medium-size test case. In particular, https://github.com/ndmitchell/shake/tree/db06af5736cc031308f05aed87c21b0a5e06a295/html contains:
I'm currently porting that to TypeScript, see https://github.com/ndmitchell/shake/tree/master/html/ts
If infernu could handle it, and had explicit and checked type signatures, I'd consider moving to it. Using a Haskell-based Javascript checker makes things like generation and management much easier.
If you aren't interested in test cases at this time, feel free to close this issue.
The text was updated successfully, but these errors were encountered: