Michael Goderbauer

Results 59 issues of Michael Goderbauer

Helps in catching unintended runtime errors related to dynamic. See also https://github.com/dart-lang/lints/issues/44, which is the other part of this puzzle.

type-lint

Similar to https://github.com/dart-lang/lints/issues/125, this is a proposal to enable `strict-raw-types` in the recommended lint set. We'd have to believe this is the way we want to recommend that people write...

type-lint

```dart class Foo { Foo({required this.foo}); num foo; } class Bar extends Foo { Bar({required int foo}) : super(foo: foo); } ``` The code above can be refactored to use...

type-bug
P3
false-negative

docimports for references in doc comments on library statements now work! Part of https://github.com/flutter/flutter/issues/150800

framework
a: animation

Details: * https://github.com/dart-lang/sdk/issues/50702 Related: * https://github.com/dart-lang/sdk/issues/55414 Blockers: - [x] https://github.com/dart-lang/sdk/issues/56088 - [x] https://github.com/dart-lang/sdk/issues/56100 - [x] Problems listed in https://github.com/flutter/flutter/pull/150798#issue-2373602645 - [x] references in docs on enum values (examples in https://github.com/flutter/flutter/pull/151119#issue-2384436349)...

team-framework

The `comment_references` fires on the following lines even though it shouldn't: - https://github.com/flutter/flutter/blob/44622dac46a954b38111fc6ec1de6e2c74065de3/packages/flutter/lib/src/semantics/semantics.dart#L2424-L2425 - https://github.com/flutter/flutter/blob/44622dac46a954b38111fc6ec1de6e2c74065de3/packages/flutter/lib/src/services/autofill.dart#L595-L596

type-bug
false-positive
P2

Issue https://github.com/dart-lang/linter/issues/3023 (dealing with `avoid_catches_without_on_clauses`) was also linked as a blocker for enabling the `avoid_catching_errors` lint in Flutter and when enabling it I am essentially running into the same classes...

type-enhancement
P3

Flutter has some API methods (like Navigator.push, AnimationController.forward, AnimationController.reverse) that return a Future, but in a lot of cases it is perfectly normal to just drop that Future on the...

type-enhancement
P2
set-none

There are likely other situations where this happens, but this is how I was able to consistently reproduce the problem: 1) Clone flutter from a fork (it's important that it's...

P2
team-tool
triaged-tool

Code: ```dart void m() { const Foo(); // 🔥 error: The constructor being called isn't a const constructor. (const_with_non_const) } @MyMacro() class Foo { const Foo({int a = 0}); }...

type-bug
area-front-end
cfe-feature-macros
customer-flutter-widget-macro