We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
document_ignores
1 parent 4a632a3 commit 4334ac9Copy full SHA for 4334ac9
pkg/linter/lib/src/rules/document_ignores.dart
@@ -39,7 +39,7 @@ class _Visitor extends SimpleAstVisitor<void> {
39
40
@override
41
void visitCompilationUnit(CompilationUnit node) {
42
- var content = node.declaredElement?.source.contents.data;
+ var content = node.declaredFragment?.source.contents.data;
43
for (var comment in node.ignoreComments) {
44
var ignoredElements = comment.ignoredElements;
45
if (ignoredElements.isEmpty) {
0 commit comments