Skip to content
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

TC crashes on library file Ambiguity.rsc #483

Closed
PaulKlint opened this issue Jan 10, 2014 · 4 comments
Closed

TC crashes on library file Ambiguity.rsc #483

PaulKlint opened this issue Jan 10, 2014 · 4 comments

Comments

@PaulKlint
Copy link
Member

compile(|project://rascal/src/org/rascalmpl/library/Ambiguity.rsc|);

gives

|rascal://lang::rascal::types::CheckTypes|(31671,1,<634,13>,<634,14>): Expected map[RName, int], but got map[RName, value]
@ghost ghost assigned mahills Jan 10, 2014
@mahills
Copy link
Member

mahills commented Jan 10, 2014

I just committed a fix for this crash, but there are still some type errors, at least some of which appear to be well-founded. I'll need to look through them.

@PaulKlint
Copy link
Member Author

I have solved the real errors in Ambiguity. Now only remains what seems to be an error in the type checker:

error("Could not calculate function type because of errors calculating the parameter types",|project://rascal/src/org/rascalmpl/library/ParseTree.rsc|(11012,119,<278,7>,<278,126>))
error("Type of pattern could not be computed, please add additional type annotations",|project://rascal/src/org/rascalmpl/library/ParseTree.rsc|(11054,53,<278,49>,<278,102>))

@mahills
Copy link
Member

mahills commented Aug 12, 2014

I am currently able to check Ambiguity without any errors being reported.

@mahills mahills closed this as completed Aug 12, 2014
@PaulKlint
Copy link
Member Author

Good news!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants