Mateus Felipe C. C. Pinto

Results 180 comments of Mateus Felipe C. C. Pinto

After this, make operators proper functions, so, for example `a + b` would be `+(a, b)` infixed function. This would allow for cleaner code like `[1, 2, 3].reduce(+)` instead of...

> A record type syntax also can't express which named arguments are `required` Unless we have #2232.

> And I can't even typedef my way around it, because even with `typedef Fn = Function`, the `int Function(int)` syntax is a special syntactic form unrelated to the similarly...

This is something I've been wanting a lot. It would be really nice to be able to specify promotions. A very common case is, for example, using the `isBlank` from...

> @mateusfccp That's actually a cool use case. > > Alternatively, you could always use the `!` operator... > I never use `!`, because it's unsafe and you can always...

I have this enabled and have to use `// ignore: avoid_positional_boolean_parameters` sometimes for single-arguments functions. One common case is this one (adapted from real code): ```dart @freezed class Settings with...

Overall, I don't think this is a reasonable PR. I propose closing it.

I would find it very confusing to allow private fields in records. IMO it's the kind of thing that will be mostly used for unintuitive workarounds.

@atar-axis did you give up on this?

I don't know the process, but it doesn't seem to be very straightforward. I'm sorry I can't really help, as I don't really know anything about kernels, drivers, or mainlining...