commit | a9d63ca7a87b6d510523e5ec5829380d4294366f | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Tue May 24 01:26:47 2022 |
committer | GitHub <noreply@github.com> | Tue May 24 01:26:47 2022 |
tree | 32511accb102c51cff743a84134c64a669c167c3 | |
parent | fd4f52ba67e074d58e69845246ef68ee98011818 [diff] |
Restrict TestOn to library level (#1704) Closes https://github.com/dart-lang/sdk/issues/49071 Add a `Target` with the `TargetKind.library` so that the analyzer understands that the annotation is logically applied to the library, even when it is syntactically applied on an import. This fixes behavior when sorting imports. The same configuration was applied to other imports in #1345 and this looks like it was an accidental omission.