blob: 4dae435a6ccc878094420f7f847628cddb0cef10 [file] [log] [blame] [edit]
>>> TODO: Don't commit this, it's part of an existing regression test.
bool _hasLibraryDirective(String code) => parseDirectives(
code,
suppressErrors: true,
).directives.any((d) => d is LibraryDirective);
<<<
bool _hasLibraryDirective(String code) =>
parseDirectives(
code,
suppressErrors: true,
).directives.any((d) => d is LibraryDirective);