It seems that analyzer-6.5.0 has removed (?)ClassDeclaration.inlineKeyword, which breaks dart_style-2.3.2.
We found this error OOB on flutter/packages' post-submit checks, with an error similar to this:
Running command: "dart run tool/run_tests.dart" in C:\b\s\w\ir\x\w\packages\packages\go_router_builder
../../../.pub-cache/hosted/pub.dev/dart_style-2.3.2/lib/src/source_visitor.dart:593:19: Error: The getter 'inlineKeyword' isn't defined for the class 'ClassDeclaration'.
- 'ClassDeclaration' is from 'package:analyzer/src/dart/ast/ast.dart' ('../../../.pub-cache/hosted/pub.dev/analyzer-6.5.0/lib/src/dart/ast/ast.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'inlineKeyword'.
modifier(node.inlineKeyword);
^^^^^^^^^^^^^
[packages/go_router_builder completed in 0m 18s]
It seems that
analyzer-6.5.0
has removed (?)ClassDeclaration.inlineKeyword
, which breaksdart_style-2.3.2
.We found this error OOB on flutter/packages' post-submit checks, with an error similar to this: