Paul Berry

Results 149 comments of Paul Berry

@rubenferreira97 I'm back to actively working on this. I hope to be able to release it as part of Dart 3.1.

I like the principled nature of @leafpetersen's analysis in https://github.com/dart-lang/language/issues/3571#issuecomment-1899745967. When I was trying to write up the issue in the first place, I think I was trying to mentally...

@lrhn: > But, if we want to be consistent, should we recursively process deeper nestings, like a context type of `FutureOr` also brought reduced to `T?`? Yeah, I suppose we...

I've done some debugging, and I believe I've narrowed down the culprit to a bug in the `applyBoxFit` function. I'll upload a fix for review shortly.

@dart-lang/language-team As discussed in today's language team meeting. Let me know what you think!

I'm starting work on this. I plan to do a prototype first, then see how much breakage it causes inside google3. Once I have that information we can re-assess whether...

@leafpetersen said: > Is my interpretation of the intended semantics above correct? Yes, I think so. > Is this change expected/desired? If so, do we have any data on how...

One other thought: In some other issues recently I've been talking about the idea of extending type schemas with a `coercibleTo` operator. If we did that, we could potentially address...

I've done some additional prototyping along the lines suggested in this discussion, and I'm less certain about whether requiered context types are necessarily a good idea anymore. If they are...