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

Analyzer doesn't allow super static member namespace conflicts #34331

Closed
MichaelRFairhurst opened this Issue Aug 31, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@MichaelRFairhurst
Copy link
Contributor

commented Aug 31, 2018

class A {                                                                        
  static var a;                                                                            
}                                                                                
                                                                                 
class C extends A {                                                              
  var a; // this should fail                       
}   

from test check_member_static_test/01

CFE does the correct thing here, so I'm making this a P2, and adding to Dart2.1.

@scheglov

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2018

dart-bot pushed a commit that referenced this issue Sep 4, 2018

Stop reporting CONFLICTING_INSTANCE_GETTER_AND_SUPERCLASS_MEMBER and …
…CONFLICTING_INSTANCE_SETTER_AND_SUPERCLASS_MEMBER.

These errors were removed from the spec.
See also #33235

R=brianwilkerson@google.com

Bug: #34331
Change-Id: Ibc675aa48165300ddac32a8d6ddef4d84d41952a
Reviewed-on: https://dart-review.googlesource.com/72903
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>

@scheglov scheglov closed this Sep 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.