[analyzer] Analyzer disallows external fields on extension types #53226
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
Analysis on the following example:
fails with:
error • field_test.dart:6:19 • Extension types can't declare instance fields. Try replacing the field with a getter. • extension_type_declares_instance_field
Dart version:
Dart SDK version: 3.2.0-edge.820b0f799c8dc33ffde17431074a2abfcc5036cf (be) (Mon Aug 14 13:07:06 2023 -0400) on "macos_x64"
The text was updated successfully, but these errors were encountered: