Skip to content

Commit 4ed3c6a

Browse files
committed
Simplify get typeSystem.
1 parent 26a5ae9 commit 4ed3c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/model/library.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ class Library extends ModelElement with Categorization, TopLevelContainer {
480480
return _typedefs;
481481
}
482482

483-
TypeSystem get typeSystem => library.element.typeSystem;
483+
TypeSystem get typeSystem => element.typeSystem;
484484

485485
List<Class> _classes;
486486

0 commit comments

Comments
 (0)