-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Assertion error when compiling config files in resident mode. #34
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
Comments
Closed
odersky
added a commit
to odersky/dotty
that referenced
this issue
Mar 3, 2014
Right now this one fails.
odersky
added a commit
to odersky/dotty
that referenced
this issue
Mar 3, 2014
The root cause of scala#34 was that we took a type argument which was an existential type. These are returned as type bounds, which make no sense in the calling context. To avoid that problem in the future, `typeArgs` got renamed to `argInfos`, so it is clear we get an info, not necessarily a value type. There are also added method `argTypes`, `argTypesLo`, `argTypesHi`, which return a type, but either throw an exception or return a lower/upper approximation of the argument is an existential type. There's another issue that the existential type only arose when compiling the same couple fo files the seciond time. We need to chase that one down separately.
Merged
The build passes, but I leave the issue open because we still have to find out why the problem arises only during 2nd run, and how it depends on file order. |
Looks like it works now. |
noti0na1
pushed a commit
to noti0na1/dotty
that referenced
this issue
Oct 23, 2019
Merge Changes from Dotty Upstream (including changes to JavaParser)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using this command in directory src/dotty/tools/dotc:
We get an assertion error on the second run. here's the full output:
The text was updated successfully, but these errors were encountered: