mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 13:35:05 +00:00
[dart2js] migrate kernel/element_map_impl to null safety
Change-Id: I34ca5b75240944d39dc88d5031fdac195563b67d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/260285 Reviewed-by: Mayank Patke <fishythefish@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com>
This commit is contained in:
parent
01f3d27c1e
commit
8b49851cb8
File diff suppressed because it is too large
Load diff
|
@ -108,7 +108,7 @@ abstract class KernelToElementMapForDeferredLoading {
|
|||
{bool requireConstant = true,
|
||||
bool implicitNull = false,
|
||||
bool checkCasts = true});
|
||||
ImportEntity getImport(ir.LibraryDependency? node);
|
||||
ImportEntity? getImport(ir.LibraryDependency? node);
|
||||
ir.Member getMemberNode(MemberEntity member);
|
||||
ir.StaticTypeContext getStaticTypeContext(MemberEntity member);
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ abstract class KFunction extends KMember
|
|||
@override
|
||||
final AsyncMarker asyncMarker;
|
||||
|
||||
KFunction(super.library, KClass super.enclosingClass, super.name,
|
||||
KFunction(super.library, super.enclosingClass, super.name,
|
||||
this.parameterStructure, this.asyncMarker,
|
||||
{super.isStatic, this.isExternal = false});
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ class KGetter extends KFunction {
|
|||
@override
|
||||
final bool isAbstract;
|
||||
|
||||
KGetter(KLibrary library, KClass enclosingClass, Name name,
|
||||
KGetter(KLibrary library, KClass? enclosingClass, Name name,
|
||||
AsyncMarker asyncMarker,
|
||||
{required bool isStatic,
|
||||
required bool isExternal,
|
||||
|
@ -219,7 +219,7 @@ class KSetter extends KFunction {
|
|||
@override
|
||||
final bool isAbstract;
|
||||
|
||||
KSetter(KLibrary library, KClass enclosingClass, Name name,
|
||||
KSetter(KLibrary library, KClass? enclosingClass, Name name,
|
||||
{required bool isStatic,
|
||||
required bool isExternal,
|
||||
required this.isAbstract})
|
||||
|
@ -243,7 +243,7 @@ class KField extends KMember implements FieldEntity, IndexedField {
|
|||
@override
|
||||
final bool isConst;
|
||||
|
||||
KField(super.library, KClass super.enclosingClass, super.name,
|
||||
KField(super.library, super.enclosingClass, super.name,
|
||||
{required super.isStatic,
|
||||
required this.isAssignable,
|
||||
required this.isConst});
|
||||
|
|
Loading…
Reference in a new issue