-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onclosed-duplicateClosed in favor of an existing reportClosed in favor of an existing reportlanguage-strong-mode-polishlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
https://dartpad.dartlang.org/645ed8079bc07d4976a6cc773a2fa269
Derived d = new Base()..val = 'd';
Derived e = new Base();
I expect both those lines to have a compile time error in strong mode, but only the second line does
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onclosed-duplicateClosed in favor of an existing reportClosed in favor of an existing reportlanguage-strong-mode-polishlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)