v15.2.2
Dart 3.13 parses implicit constructor calls (e.g. File('x')) as
InstanceCreationExpression even in syntactic mode, so the syntactic
and resolved scans now fire the same rules. Changed the test from
requiring a strict superset to requiring a non-strict superset,
which passes on both Dart 3.12 and 3.13.