Paul Berry

Results 149 comments of Paul Berry

Another idea that came up in this morning's language team meeting is to disambiguate the two types of annotations based on whether there's whitespace between the identifier and the `(`....

Related idea: once we have field promotion (which we should have before we have patterns) we may want extractor patterns to promote fields, e.g.: ```dart class C { final int?...

Minor nit: when you say "and getters of the same name, in the same library, are also final" I think you mean something like "and there are no concrete getters...

I believe the underlying cause is https://github.com/dart-lang/sdk/issues/32290.

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned. If you still need help, or...

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned. If you still need help, or...

Note that this issue is regularly reported as a bug; it seems that a lot of folks intuitively expect flow analysis to be smart enough to handle this correctly. Here...

I added some ideas to https://github.com/dart-lang/sdk/issues/50573 about a possible implementation strategy. Copying them here so that all the discussion is in one place: > FWIW, it's not a trivial fix...

@lrhn > Would it be possible do detect that a nullable variable is never assigned a nullable value, even if it might be assigned inside closures, and if so, allow...