-
Notifications
You must be signed in to change notification settings - Fork 123
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
type error with the program in issue #3 #16
Comments
Iavor is about to replace the type-checking constraint solver, so it should be okay with this code "real soon now". |
Relevant example from closed issue 083.
|
I reworked the typechecker to check against signatures when present, and infer types when they're not. This change means that the type information for the arguments in the example @yav provided is present immediately, instead of when the signature is being checked after inference. |
@elliottt after these changes were merged in, we shot up to 85 test failures across the various platforms on Jenkins. It looks like most of the errors are due to being unable to typecheck |
That's odd, the tests ran fine for me, which is why I merged the changes :) |
I just completely cleaned out my local build env, and re-ran the tests from scratch. I'm still unable to reproduce the failures that are showing up on Jenkins, so I'm at a loss as to why things aren't working there. |
OK, so I built master in a Fedora 20 vm, with GHC-7.8.3, and CVC4 version 1.3, and I only get 4 test failures. I think that there's something off with the Jenkins machines, we should diagnose this more on Monday :) |
Actually, scratch that. I get 85 failures when I remove CVC4. I'll add this to the ticket about getting CVC4 on all the Jenkins machines :) |
when I load the program Dylan put in issue #3, I actually get a bunch of type-checking errors unless I put an explicit annotation
zero : [1]
in the expressionz'
.The constraints look solvable to me, but maybe a rewrite is missing? Here's what I get:
The text was updated successfully, but these errors were encountered: