Modestas Valauskas

Results 43 issues of Modestas Valauskas

Edit: Dart added support for disabling all lints at once: ```dart // ignore_for_file: type=lint ``` This should now be preferred over enumerating all to-be-ignored lints explicitly. (The original issue description:)...

Hello @kevmoo Have you considered adding a level of indirection for getting rid of the boilerplate that json_serializable currently requires? The rough idea is to instead of having to annotate...

Type: enhancement
pkg:json_serializable

```dart class Abc { const Abc(); int call() => 0; } class Xyz { final int Function() fn; const Xyz(this.fn); } void main() { Xyz(const Abc()); // prefer_const_constructors is wrong...

false positive
set-flutter

Hello Ryan, https://github.com/rknell/alfred/blob/32e30393c9d49965b29553fbbfc9a9f3130538fe/test/alfred_test.dart#L165-L166 fyi ```dart final response = await Response.fromStream( await http.Client().send( http.Request("OPTIONS", Uri.parse("http://localhost:$port/test")), ), ); expect(response.body, "test string"); ```

Hey @spebbe, Have you heard of type defunctionalization? [type defunctionalization](https://www.cl.cam.ac.uk/~jdy22/papers/lightweight-higher-kinded-polymorphism.pdf) > 1.3 Type defunctionalization Defunctionalization transforms a program with higher-order values into a program where all values are first-order. Similarly,...

This issue is a feature request for allowing optional trailing commas in non-empty type argument lists and type parameter lists. The proposed change is purely syntactical and non-breaking. ## Motivation...

feature

According to https://github.com/ianh/owl/issues/43#issuecomment-1814917290, call and return symbols need to be disjoint. Therefore, https://github.com/ianh/owl/issues/38 is not possible because string literals viewed as a VPL would have an identical call and return...

Hello @ianh, This is essentially the same issue [as this one](https://github.com/mdaines/grammophone/issues/25). I've used that feature to collect a bunch of grammars [here](https://github.com/mdaines/grammophone/issues/26). I think it would be useful if the...

Hello @ianh, I'm wondering, do you have any insights into incremental parsing where VPLs could offer some kind of advantage over, e.g., parsing context free languages using, e.g., LR/LL parsing?...

Currently, the macro proposal reuses metadata syntax (e.g., `@foo`) for marking declarations as being eligible for macro expansion. This invalidates an important invariant that users of Dart are used to:...