-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fasta: Implement adjusted member conflict rules #33237
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
@kmillikin, those issues were created long before dartLangSpec.tex was updated as described in #33235, so they can hardly require the same changes; this means that I'd need to look into all those issues to make sure that they request the right thing. Thanks for the info! |
PS: Please postpone the implementation requested in this issue for a few days—one more update to the language specification is currently under review (marked in #33235 as 'Update under review', handled here). We will add yet another comment here when that update has been resolved. (Edit: done, see below) |
@kmillikin, regarding issues #30674, #31596, #32014, and #32917: I took a look at them and concluded that they are about overriding (which is concerned with two declarations of a member of the same kind). This means that there is no overlap with this issue (which is concerned with situations involving two different kinds of members, e.g., a getter and a setter, or a static member and an instance member). In #32613 I added a reference to a table in #33235, which may be helpful because it lists all cases. |
As of 08c893d, the updated and simplified rules in the specification have been landed, so the work here may proceed. |
We are currently missing the ones involving static members and a few of the other ones:
|
@askeksa-google can you take "constructor/static setter" and "static setter/static method"? I'll implement the others as part of override checking during top-level type inference. |
…ic method. Bug: #33237 Change-Id: I44c69f32039de9b024c942706e96bf1998217350 Reviewed-on: https://dart-review.googlesource.com/60583 Commit-Queue: Aske Simon Christensen <[email protected]> Reviewed-by: Kevin Millikin <[email protected]>
See #32613 and #33235 (comment) Bug: #32613, #33235, #33237 Change-Id: I0d1432185b6811137e31135ac2c7f58c4de2de6c Reviewed-on: https://dart-review.googlesource.com/64500 Commit-Queue: Dmitry Stefantsov <[email protected]> Reviewed-by: Dmitry Stefantsov <[email protected]> Reviewed-by: Erik Ernst <[email protected]>
|
|
I have filed dart-lang/co19#179 for these incorrect tests. |
This is the Fasta specific issue for #33235, which has the details.
The text was updated successfully, but these errors were encountered: