You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// You can also use the [new Foo.bar] constructor.classFoo {
/// Creates with bar null.Foo() : bar =null;
/// Creates with bar 1.Foo.bar() : bar =1;
/// The bar.finalint bar;
}
The [new Foo.bar] links to the property and reports the following warning:
[new Foo.bar()] : links to property and shows the warning
[new Foo.bar] : links to property and shows the warning
[Foo.bar] : links to property, no warning (expected)
[Foo.bar()] : links to property and shows the warning
The text was updated successfully, but these errors were encountered:
srawlins
added
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
P2
A bug or feature request we're likely to work on
labels
Jul 27, 2020
Example:
The
[new Foo.bar]
links to the property and reports the following warning:I've tried some variations:
[new Foo.bar()]
: links to property and shows the warning[new Foo.bar]
: links to property and shows the warning[Foo.bar]
: links to property, no warning (expected)[Foo.bar()]
: links to property and shows the warningThe text was updated successfully, but these errors were encountered: