Files
sdk/pkg/_fe_analyzer_shared
Kallen Tu 0e524b949a [analyzer/cfe] Emit error when trying to use sealed and abstract modifiers on a class.
`sealed` and `abstract` modifiers are mutually exclusive. Error when a user tries to use them together on a class declaration.

Implemented in the parser since it's a common error between the analyzer and the CFE.

Change-Id: I9a8835c29ddb430ea0f005630bbdf9348f8b055c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269260
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2022-11-14 19:51:42 +00:00
..
2022-02-14 14:06:34 +00:00

FE/analyzer shared code

This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.

End users should consider using the analyzer package to analyze Dart source code.