-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Ycheck that methods defined in ClassInfo exist in tree. #735
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
Conversation
Simplifies debugging for me.
Fixes bugs in handling try-finally blocks.
Includes fix to emission of invokeDynamic instructions in positions where expected type isn't the type of lambda being returned. SI-9387
Use x.length - y.length trick, Names are hash-consed.
Checks if the symbols is a synthetic symbol that is created by values class transformation to represent conversions between representations of a value class.
Mixi does not define stored&substed in classes that inherit this trait.
We now see a non-abstract method error for a lazy val in PatMat. |
used a wrong member function inside, led to errors similar to: java.lang.ClassFormatError: Duplicate method name&signature in class file dotty/tools/dotc/core/Types$WildcardType
They should not become deferred. And there could be multiple symbols with same name in same scope, e.g.: implicit class Foo(){} will create implicit method Foo that and a lazy module named Foo
Making a correct fix could take some time, and I want to find other issues before I start working on this one.
With fixes from this branch, dotty compiled by dotty can print greeting without dying.
|
What's the partest failure? Should we try to merge this or work on the branch separately |
The failure is due to incorrect check file added in this pr(extra line break). It should be fixed now. |
56c3c78
to
3377de5
Compare
@odersky tests passed, please review |
Added suggested changes by myself and @smarter.
LGTM for everything. |
Ycheck that methods defined in ClassInfo exist in tree.
based on #693.
Known to fail:
trait TreeInfo tree does not define methods: Set(method initial$MatchingArgs)