Skip to content

Commit 23fc0ae

Browse files
committed
Use element2
1 parent 54f575b commit 23fc0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/model/model_element.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ abstract class ModelElement
427427
}
428428
}
429429

430-
if (element.isInternal) {
430+
if (element.annotations.any((e) => e.isInternal)) {
431431
return false;
432432
}
433433
return !element.hasPrivateName && !hasNodoc;

0 commit comments

Comments
 (0)