[dart-lang/sdk] 62fc64: [analysis_server] Primary constructors - Add fix f...

0 views
Skip to first unread message

Kallen Tu

unread,
Feb 23, 2026, 7:45:16 PM (5 hours ago) Feb 23
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 62fc64513ceee73f891b9263a9d37bc1f51c463e
https://github.com/dart-lang/sdk/commit/62fc64513ceee73f891b9263a9d37bc1f51c463e
Author: Kallen Tu <kall...@google.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)

Changed paths:
M pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml
M pkg/analysis_server/lib/src/services/correction/fix_internal.dart
M pkg/analysis_server/test/src/services/correction/fix/remove_lexeme_test.dart

Log Message:
-----------
[analysis_server] Primary constructors - Add fix for var_with_no_type_annotation.

The fix for `var_with_no_type_annotation` is to remove the `var` keyword. We'll use the `RemoveLexeme` fix to accomplish this.

Bug: https://github.com/dart-lang/sdk/issues/61704
Change-Id: I0cd3951bdb78975c059ad2beaee4c77c68fabfda
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482521
Commit-Queue: Kallen Tu <kall...@google.com>
Reviewed-by: Brian Wilkerson <brianwi...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications

Kallen Tu

unread,
Feb 23, 2026, 9:10:15 PM (4 hours ago) Feb 23
to com...@dartlang.org
Branch: refs/heads/lkgr
Reply all
Reply to author
Forward
0 new messages