-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unit test bundle for type checking and function signatures #87
Comments
#104 addresses these unit test, but some have been commented out because they currently fail on master. Those tests highlight a few missing features in the checker and parser. Checker currently doesn't identify incorrect types used as, or inside of, option blocks. That is In discussion with @hinshun we realized the need for |
in @hinshun could you provide an example hlb program that has an option with a func literal that has no subtype? I'm not sure I know what that looks like and I want to write a test case for it so that I can try to fix the checker. NB if I comment out that block, most of the checks seem to work consistently. |
I think what I meant by that comment is the following.
When I wrote |
Tests should go into compile_test.go, and the input program should be minimal as possible. There may be more than one test case per bullet point.
The text was updated successfully, but these errors were encountered: