diff --git a/pkg/kernel/lib/type_algebra.dart b/pkg/kernel/lib/type_algebra.dart index 4faa805d3d4..c6bf27a8de5 100644 --- a/pkg/kernel/lib/type_algebra.dart +++ b/pkg/kernel/lib/type_algebra.dart @@ -1846,7 +1846,6 @@ class _PrimitiveTypeVerifier implements DartTypeVisitor { /// /// Some types are nullable even without the application of the nullable type /// constructor at the top level, for example, Null or FutureOr. -// TODO(cstefantsova): Remove [coreTypes] parameter when NullType is landed. DartType unwrapNullabilityConstructor(DartType type) { return type.accept(const _NullabilityConstructorUnwrapper()); } @@ -1855,8 +1854,6 @@ DartType unwrapNullabilityConstructor(DartType type) { /// /// Implementing the function as a visitor makes the necessity of supporting a /// new implementation of [DartType] visible at compile time. -// TODO(cstefantsova): Remove CoreTypes as the second argument when NullType is -// landed. class _NullabilityConstructorUnwrapper implements DartTypeVisitor { const _NullabilityConstructorUnwrapper();