mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 19:21:30 +00:00
[cfe] Make kernel AST and CompilerOptions use strong mode by default
TEST=existing Change-Id: I8d8bc59dc742a7499338ea2d23a611696492603c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/359222 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
This commit is contained in:
parent
240d60c06b
commit
63d2008355
|
@ -87,7 +87,6 @@ void main() async {
|
||||||
var result = await Process.run(Platform.resolvedExecutable, [
|
var result = await Process.run(Platform.resolvedExecutable, [
|
||||||
compilePath,
|
compilePath,
|
||||||
"--target=dartdevc",
|
"--target=dartdevc",
|
||||||
"--nnbd-strong",
|
|
||||||
"--platform=${ddcOutlinePath}",
|
"--platform=${ddcOutlinePath}",
|
||||||
"-o=${dillPath}",
|
"-o=${dillPath}",
|
||||||
testClassesPath
|
testClassesPath
|
||||||
|
|
|
@ -258,7 +258,7 @@ class CompilerOptions {
|
||||||
|
|
||||||
/// Whether nnbd weak, strong or agnostic mode is used if experiment
|
/// Whether nnbd weak, strong or agnostic mode is used if experiment
|
||||||
/// 'non-nullable' is enabled.
|
/// 'non-nullable' is enabled.
|
||||||
NnbdMode nnbdMode = NnbdMode.Weak;
|
NnbdMode nnbdMode = NnbdMode.Strong;
|
||||||
|
|
||||||
/// Whether to emit a warning when a ReachabilityError is thrown to ensure
|
/// Whether to emit a warning when a ReachabilityError is thrown to ensure
|
||||||
/// soundness in mixed mode.
|
/// soundness in mixed mode.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
enum NnbdMode {
|
enum NnbdMode {
|
||||||
Weak,
|
|
||||||
Strong,
|
Strong,
|
||||||
|
Weak,
|
||||||
Agnostic,
|
Agnostic,
|
||||||
}
|
}
|
||||||
|
|
|
@ -972,6 +972,7 @@ AbstractClassMember:
|
||||||
problemMessage: "Members of classes can't be declared to be 'abstract'."
|
problemMessage: "Members of classes can't be declared to be 'abstract'."
|
||||||
correctionMessage: "Try removing the 'abstract' keyword. You can add the 'abstract' keyword before the class declaration."
|
correctionMessage: "Try removing the 'abstract' keyword. You can add the 'abstract' keyword before the class declaration."
|
||||||
analyzerCode: ParserErrorCode.ABSTRACT_CLASS_MEMBER
|
analyzerCode: ParserErrorCode.ABSTRACT_CLASS_MEMBER
|
||||||
|
configuration: nnbd-weak
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
abstract class C {abstract C.c();}
|
abstract class C {abstract C.c();}
|
||||||
|
@ -993,7 +994,6 @@ AbstractExternalField:
|
||||||
problemMessage: "Fields can't be declared both 'abstract' and 'external'."
|
problemMessage: "Fields can't be declared both 'abstract' and 'external'."
|
||||||
analyzerCode: ParserErrorCode.ABSTRACT_EXTERNAL_FIELD
|
analyzerCode: ParserErrorCode.ABSTRACT_EXTERNAL_FIELD
|
||||||
correctionMessage: "Try removing the 'abstract' or 'external' keyword."
|
correctionMessage: "Try removing the 'abstract' or 'external' keyword."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "abstract class C {abstract external var f;}"
|
- "abstract class C {abstract external var f;}"
|
||||||
- "abstract class C {external abstract var f;}"
|
- "abstract class C {external abstract var f;}"
|
||||||
|
@ -1003,7 +1003,6 @@ AbstractStaticField:
|
||||||
problemMessage: "Static fields can't be declared 'abstract'."
|
problemMessage: "Static fields can't be declared 'abstract'."
|
||||||
analyzerCode: ParserErrorCode.ABSTRACT_STATIC_FIELD
|
analyzerCode: ParserErrorCode.ABSTRACT_STATIC_FIELD
|
||||||
correctionMessage: "Try removing the 'abstract' or 'static' keyword."
|
correctionMessage: "Try removing the 'abstract' or 'static' keyword."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "abstract class C {abstract static var f;}"
|
- "abstract class C {abstract static var f;}"
|
||||||
|
|
||||||
|
@ -1018,14 +1017,12 @@ AbstractExtensionField:
|
||||||
AbstractFieldInitializer:
|
AbstractFieldInitializer:
|
||||||
problemMessage: "Abstract fields cannot have initializers."
|
problemMessage: "Abstract fields cannot have initializers."
|
||||||
correctionMessage: "Try removing the initializer or the 'abstract' keyword."
|
correctionMessage: "Try removing the initializer or the 'abstract' keyword."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "abstract class C {abstract var f = 0;}"
|
- "abstract class C {abstract var f = 0;}"
|
||||||
|
|
||||||
AbstractFieldConstructorInitializer:
|
AbstractFieldConstructorInitializer:
|
||||||
problemMessage: "Abstract fields cannot have initializers."
|
problemMessage: "Abstract fields cannot have initializers."
|
||||||
correctionMessage: "Try removing the field initializer or the 'abstract' keyword from the field declaration."
|
correctionMessage: "Try removing the field initializer or the 'abstract' keyword from the field declaration."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "abstract class C {abstract var f; C(this.f);}"
|
- "abstract class C {abstract var f; C(this.f);}"
|
||||||
- "abstract class C {abstract var f; C() : this.f = 0;}"
|
- "abstract class C {abstract var f; C() : this.f = 0;}"
|
||||||
|
@ -1035,7 +1032,6 @@ AbstractLateField:
|
||||||
problemMessage: "Abstract fields cannot be late."
|
problemMessage: "Abstract fields cannot be late."
|
||||||
analyzerCode: ParserErrorCode.ABSTRACT_LATE_FIELD
|
analyzerCode: ParserErrorCode.ABSTRACT_LATE_FIELD
|
||||||
correctionMessage: "Try removing the 'abstract' or 'late' keyword."
|
correctionMessage: "Try removing the 'abstract' or 'late' keyword."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "abstract class C {abstract late var f;}"
|
- "abstract class C {abstract late var f;}"
|
||||||
|
|
||||||
|
@ -1287,16 +1283,15 @@ ExternalField:
|
||||||
problemMessage: "Fields can't be declared to be 'external'."
|
problemMessage: "Fields can't be declared to be 'external'."
|
||||||
correctionMessage: "Try removing the keyword 'external', or replacing the field by an external getter and/or setter."
|
correctionMessage: "Try removing the keyword 'external', or replacing the field by an external getter and/or setter."
|
||||||
analyzerCode: ParserErrorCode.EXTERNAL_FIELD
|
analyzerCode: ParserErrorCode.EXTERNAL_FIELD
|
||||||
|
configuration: nnbd-weak
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
class C { external var f; }
|
class C { external var f; }
|
||||||
|
|
||||||
|
|
||||||
ExternalFieldInitializer:
|
ExternalFieldInitializer:
|
||||||
problemMessage: "External fields cannot have initializers."
|
problemMessage: "External fields cannot have initializers."
|
||||||
correctionMessage: "Try removing the initializer or the 'external' keyword."
|
correctionMessage: "Try removing the initializer or the 'external' keyword."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "external var f = 0;"
|
- "external var f = 0;"
|
||||||
- "abstract class C {external var f = 0;}"
|
- "abstract class C {external var f = 0;}"
|
||||||
|
@ -1304,7 +1299,6 @@ ExternalFieldInitializer:
|
||||||
ExternalFieldConstructorInitializer:
|
ExternalFieldConstructorInitializer:
|
||||||
problemMessage: "External fields cannot have initializers."
|
problemMessage: "External fields cannot have initializers."
|
||||||
correctionMessage: "Try removing the field initializer or the 'external' keyword from the field declaration."
|
correctionMessage: "Try removing the field initializer or the 'external' keyword from the field declaration."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "abstract class C {external var f; C(this.f);}"
|
- "abstract class C {external var f; C(this.f);}"
|
||||||
- "abstract class C {external var f; C() : this.f = 0;}"
|
- "abstract class C {external var f; C() : this.f = 0;}"
|
||||||
|
@ -1314,7 +1308,6 @@ ExternalLateField:
|
||||||
problemMessage: "External fields cannot be late."
|
problemMessage: "External fields cannot be late."
|
||||||
analyzerCode: ParserErrorCode.EXTERNAL_LATE_FIELD
|
analyzerCode: ParserErrorCode.EXTERNAL_LATE_FIELD
|
||||||
correctionMessage: "Try removing the 'external' or 'late' keyword."
|
correctionMessage: "Try removing the 'external' or 'late' keyword."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "external late var f;"
|
- "external late var f;"
|
||||||
- "abstract class C {external late var f;}"
|
- "abstract class C {external late var f;}"
|
||||||
|
@ -1459,7 +1452,6 @@ FinalAndCovariantLateWithInitializer:
|
||||||
correctionMessage: "Try removing either the 'final' or 'covariant' keyword, or removing the initializer."
|
correctionMessage: "Try removing either the 'final' or 'covariant' keyword, or removing the initializer."
|
||||||
analyzerCode: ParserErrorCode.FINAL_AND_COVARIANT_LATE_WITH_INITIALIZER
|
analyzerCode: ParserErrorCode.FINAL_AND_COVARIANT_LATE_WITH_INITIALIZER
|
||||||
# Weak and strong doesn't matter in this instance.
|
# Weak and strong doesn't matter in this instance.
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- "class C { covariant late final f = 5; }"
|
- "class C { covariant late final f = 5; }"
|
||||||
|
|
||||||
|
@ -2988,7 +2980,6 @@ OverrideTypeMismatchSetter:
|
||||||
|
|
||||||
OverrideMismatchRequiredNamedParameter:
|
OverrideMismatchRequiredNamedParameter:
|
||||||
problemMessage: "The required named parameter '#name' in method '#name2' is not required in overridden method '#name3'."
|
problemMessage: "The required named parameter '#name' in method '#name2' is not required in overridden method '#name3'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
method({int? a});
|
method({int? a});
|
||||||
|
@ -2999,7 +2990,6 @@ OverrideMismatchRequiredNamedParameter:
|
||||||
|
|
||||||
InvalidGetterSetterType:
|
InvalidGetterSetterType:
|
||||||
problemMessage: "The type '#type' of the getter '#name' is not a subtype of the type '#type2' of the setter '#name2'."
|
problemMessage: "The type '#type' of the getter '#name' is not a subtype of the type '#type2' of the setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
num get property;
|
num get property;
|
||||||
|
@ -3008,7 +2998,6 @@ InvalidGetterSetterType:
|
||||||
|
|
||||||
InvalidGetterSetterTypeGetterInherited:
|
InvalidGetterSetterTypeGetterInherited:
|
||||||
problemMessage: "The type '#type' of the inherited getter '#name' is not a subtype of the type '#type2' of the setter '#name2'."
|
problemMessage: "The type '#type' of the inherited getter '#name' is not a subtype of the type '#type2' of the setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
num get property;
|
num get property;
|
||||||
|
@ -3019,7 +3008,6 @@ InvalidGetterSetterTypeGetterInherited:
|
||||||
|
|
||||||
InvalidGetterSetterTypeFieldInherited:
|
InvalidGetterSetterTypeFieldInherited:
|
||||||
problemMessage: "The type '#type' of the inherited field '#name' is not a subtype of the type '#type2' of the setter '#name2'."
|
problemMessage: "The type '#type' of the inherited field '#name' is not a subtype of the type '#type2' of the setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
final num property;
|
final num property;
|
||||||
|
@ -3031,7 +3019,6 @@ InvalidGetterSetterTypeFieldInherited:
|
||||||
|
|
||||||
InvalidGetterSetterTypeSetterInheritedGetter:
|
InvalidGetterSetterTypeSetterInheritedGetter:
|
||||||
problemMessage: "The type '#type' of the getter '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the getter '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
void set property(int i);
|
void set property(int i);
|
||||||
|
@ -3042,7 +3029,6 @@ InvalidGetterSetterTypeSetterInheritedGetter:
|
||||||
|
|
||||||
InvalidGetterSetterTypeSetterInheritedField:
|
InvalidGetterSetterTypeSetterInheritedField:
|
||||||
problemMessage: "The type '#type' of the field '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the field '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
void set property(int i);
|
void set property(int i);
|
||||||
|
@ -3054,7 +3040,6 @@ InvalidGetterSetterTypeSetterInheritedField:
|
||||||
|
|
||||||
InvalidGetterSetterTypeBothInheritedField:
|
InvalidGetterSetterTypeBothInheritedField:
|
||||||
problemMessage: "The type '#type' of the inherited field '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the inherited field '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
final num property;
|
final num property;
|
||||||
|
@ -3067,7 +3052,6 @@ InvalidGetterSetterTypeBothInheritedField:
|
||||||
|
|
||||||
InvalidGetterSetterTypeBothInheritedGetter:
|
InvalidGetterSetterTypeBothInheritedGetter:
|
||||||
problemMessage: "The type '#type' of the inherited getter '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the inherited getter '#name' is not a subtype of the type '#type2' of the inherited setter '#name2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
num get property;
|
num get property;
|
||||||
|
@ -3079,6 +3063,7 @@ InvalidGetterSetterTypeBothInheritedGetter:
|
||||||
|
|
||||||
InvalidGetterSetterTypeLegacy:
|
InvalidGetterSetterTypeLegacy:
|
||||||
problemMessage: "The type '#type' of the getter '#name' is not assignable to the type '#type2' of the setter '#name2'."
|
problemMessage: "The type '#type' of the getter '#name' is not assignable to the type '#type2' of the setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3088,6 +3073,7 @@ InvalidGetterSetterTypeLegacy:
|
||||||
|
|
||||||
InvalidGetterSetterTypeGetterInheritedLegacy:
|
InvalidGetterSetterTypeGetterInheritedLegacy:
|
||||||
problemMessage: "The type '#type' of the inherited getter '#name' is not assignable to the type '#type2' of the setter '#name2'."
|
problemMessage: "The type '#type' of the inherited getter '#name' is not assignable to the type '#type2' of the setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3099,6 +3085,7 @@ InvalidGetterSetterTypeGetterInheritedLegacy:
|
||||||
|
|
||||||
InvalidGetterSetterTypeFieldInheritedLegacy:
|
InvalidGetterSetterTypeFieldInheritedLegacy:
|
||||||
problemMessage: "The type '#type' of the inherited field '#name' is not assignable to the type '#type2' of the setter '#name2'."
|
problemMessage: "The type '#type' of the inherited field '#name' is not assignable to the type '#type2' of the setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3111,6 +3098,7 @@ InvalidGetterSetterTypeFieldInheritedLegacy:
|
||||||
|
|
||||||
InvalidGetterSetterTypeSetterInheritedGetterLegacy:
|
InvalidGetterSetterTypeSetterInheritedGetterLegacy:
|
||||||
problemMessage: "The type '#type' of the getter '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the getter '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3122,6 +3110,7 @@ InvalidGetterSetterTypeSetterInheritedGetterLegacy:
|
||||||
|
|
||||||
InvalidGetterSetterTypeSetterInheritedFieldLegacy:
|
InvalidGetterSetterTypeSetterInheritedFieldLegacy:
|
||||||
problemMessage: "The type '#type' of the field '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the field '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3134,6 +3123,7 @@ InvalidGetterSetterTypeSetterInheritedFieldLegacy:
|
||||||
|
|
||||||
InvalidGetterSetterTypeBothInheritedFieldLegacy:
|
InvalidGetterSetterTypeBothInheritedFieldLegacy:
|
||||||
problemMessage: "The type '#type' of the inherited field '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the inherited field '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3147,6 +3137,7 @@ InvalidGetterSetterTypeBothInheritedFieldLegacy:
|
||||||
|
|
||||||
InvalidGetterSetterTypeBothInheritedGetterLegacy:
|
InvalidGetterSetterTypeBothInheritedGetterLegacy:
|
||||||
problemMessage: "The type '#type' of the inherited getter '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
problemMessage: "The type '#type' of the inherited getter '#name' is not assignable to the type '#type2' of the inherited setter '#name2'."
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
abstract class A {
|
abstract class A {
|
||||||
|
@ -3290,7 +3281,6 @@ TypedefTypeVariableNotConstructorCause:
|
||||||
|
|
||||||
TypedefNullableType:
|
TypedefNullableType:
|
||||||
problemMessage: "Can't create typedef from nullable type."
|
problemMessage: "Can't create typedef from nullable type."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.12
|
// @dart=2.12
|
||||||
typedef F = void Function()?;
|
typedef F = void Function()?;
|
||||||
|
@ -3778,6 +3768,7 @@ SuperAsExpression:
|
||||||
SwitchExpressionNotAssignable:
|
SwitchExpressionNotAssignable:
|
||||||
problemMessage: "Type '#type' of the switch expression isn't assignable to the type '#type2' of this case expression."
|
problemMessage: "Type '#type' of the switch expression isn't assignable to the type '#type2' of this case expression."
|
||||||
analyzerCode: SWITCH_EXPRESSION_NOT_ASSIGNABLE
|
analyzerCode: SWITCH_EXPRESSION_NOT_ASSIGNABLE
|
||||||
|
configuration: nnbd-weak
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
|
@ -3793,6 +3784,7 @@ SwitchExpressionNotAssignableCause:
|
||||||
|
|
||||||
SwitchExpressionNotSubtype:
|
SwitchExpressionNotSubtype:
|
||||||
problemMessage: "Type '#type' of the case expression is not a subtype of type '#type2' of this switch expression."
|
problemMessage: "Type '#type' of the case expression is not a subtype of type '#type2' of this switch expression."
|
||||||
|
configuration: nnbd-weak
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
// @dart=2.19
|
// @dart=2.19
|
||||||
|
@ -4099,7 +4091,6 @@ ArgumentTypeNotAssignable:
|
||||||
ArgumentTypeNotAssignableNullability:
|
ArgumentTypeNotAssignableNullability:
|
||||||
problemMessage: "The argument type '#type' can't be assigned to the parameter type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "The argument type '#type' can't be assigned to the parameter type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
method(int i) {}
|
method(int i) {}
|
||||||
main() {
|
main() {
|
||||||
|
@ -4110,7 +4101,6 @@ ArgumentTypeNotAssignableNullability:
|
||||||
ArgumentTypeNotAssignablePartNullability:
|
ArgumentTypeNotAssignablePartNullability:
|
||||||
problemMessage: "The argument type '#type' can't be assigned to the parameter type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "The argument type '#type' can't be assigned to the parameter type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
method(List<int> i) {}
|
method(List<int> i) {}
|
||||||
main() {
|
main() {
|
||||||
|
@ -4121,7 +4111,6 @@ ArgumentTypeNotAssignablePartNullability:
|
||||||
ArgumentTypeNotAssignableNullabilityNull:
|
ArgumentTypeNotAssignableNullabilityNull:
|
||||||
problemMessage: "The value 'null' can't be assigned to the parameter type '#type' because '#type' is not nullable."
|
problemMessage: "The value 'null' can't be assigned to the parameter type '#type' because '#type' is not nullable."
|
||||||
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
method(int i) {}
|
method(int i) {}
|
||||||
main() {
|
main() {
|
||||||
|
@ -4131,7 +4120,6 @@ ArgumentTypeNotAssignableNullabilityNull:
|
||||||
ArgumentTypeNotAssignableNullabilityNullType:
|
ArgumentTypeNotAssignableNullabilityNullType:
|
||||||
problemMessage: "The argument type '#type' can't be assigned to the parameter type '#type2' because '#type2' is not nullable."
|
problemMessage: "The argument type '#type' can't be assigned to the parameter type '#type2' because '#type2' is not nullable."
|
||||||
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
analyzerCode: ARGUMENT_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
method(int i) {}
|
method(int i) {}
|
||||||
main() {
|
main() {
|
||||||
|
@ -4151,7 +4139,6 @@ InvalidAssignmentError:
|
||||||
InvalidAssignmentErrorNullability:
|
InvalidAssignmentErrorNullability:
|
||||||
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
analyzerCode: INVALID_ASSIGNMENT
|
analyzerCode: INVALID_ASSIGNMENT
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -4162,7 +4149,6 @@ InvalidAssignmentErrorNullability:
|
||||||
InvalidAssignmentErrorPartNullability:
|
InvalidAssignmentErrorPartNullability:
|
||||||
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
analyzerCode: INVALID_ASSIGNMENT
|
analyzerCode: INVALID_ASSIGNMENT
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
List<int> i = [];
|
List<int> i = [];
|
||||||
|
@ -4173,7 +4159,6 @@ InvalidAssignmentErrorPartNullability:
|
||||||
InvalidAssignmentErrorNullabilityNull:
|
InvalidAssignmentErrorNullabilityNull:
|
||||||
problemMessage: "The value 'null' can't be assigned to a variable of type '#type' because '#type' is not nullable."
|
problemMessage: "The value 'null' can't be assigned to a variable of type '#type' because '#type' is not nullable."
|
||||||
analyzerCode: INVALID_ASSIGNMENT
|
analyzerCode: INVALID_ASSIGNMENT
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -4183,7 +4168,6 @@ InvalidAssignmentErrorNullabilityNull:
|
||||||
InvalidAssignmentErrorNullabilityNullType:
|
InvalidAssignmentErrorNullabilityNullType:
|
||||||
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type2' is not nullable."
|
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type2' is not nullable."
|
||||||
analyzerCode: INVALID_ASSIGNMENT
|
analyzerCode: INVALID_ASSIGNMENT
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
Null n;
|
Null n;
|
||||||
|
@ -4395,7 +4379,6 @@ CantInferTypeDueToNoCombinedSignature:
|
||||||
problemMessage: "Can't infer a type for '#name' as the overridden members don't have a combined signature."
|
problemMessage: "Can't infer a type for '#name' as the overridden members don't have a combined signature."
|
||||||
correctionMessage: "Try adding an explicit type."
|
correctionMessage: "Try adding an explicit type."
|
||||||
analyzerCode: COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE
|
analyzerCode: COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
class A {
|
class A {
|
||||||
void method(int a) {}
|
void method(int a) {}
|
||||||
|
@ -4411,7 +4394,6 @@ CantInferReturnTypeDueToNoCombinedSignature:
|
||||||
problemMessage: "Can't infer a return type for '#name' as the overridden members don't have a combined signature."
|
problemMessage: "Can't infer a return type for '#name' as the overridden members don't have a combined signature."
|
||||||
correctionMessage: "Try adding an explicit type."
|
correctionMessage: "Try adding an explicit type."
|
||||||
analyzerCode: COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE
|
analyzerCode: COMPILE_TIME_ERROR.NO_COMBINED_SUPER_SIGNATURE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
abstract class A {
|
abstract class A {
|
||||||
int get getter;
|
int get getter;
|
||||||
|
@ -4482,7 +4464,6 @@ ForInLoopElementTypeNotAssignableNullability:
|
||||||
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
correctionMessage: "Try changing the type of the variable."
|
correctionMessage: "Try changing the type of the variable."
|
||||||
analyzerCode: FOR_IN_OF_INVALID_ELEMENT_TYPE
|
analyzerCode: FOR_IN_OF_INVALID_ELEMENT_TYPE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method() {
|
method() {
|
||||||
List<int?> list = [];
|
List<int?> list = [];
|
||||||
|
@ -4493,7 +4474,6 @@ ForInLoopElementTypeNotAssignablePartNullability:
|
||||||
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "A value of type '#type' can't be assigned to a variable of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
correctionMessage: "Try changing the type of the variable."
|
correctionMessage: "Try changing the type of the variable."
|
||||||
analyzerCode: FOR_IN_OF_INVALID_ELEMENT_TYPE
|
analyzerCode: FOR_IN_OF_INVALID_ELEMENT_TYPE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method() {
|
method() {
|
||||||
List<List<int?>> list = [[]];
|
List<List<int?>> list = [[]];
|
||||||
|
@ -4512,7 +4492,6 @@ ForInLoopTypeNotIterable:
|
||||||
ForInLoopTypeNotIterableNullability:
|
ForInLoopTypeNotIterableNullability:
|
||||||
problemMessage: "The type '#type' used in the 'for' loop must implement '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "The type '#type' used in the 'for' loop must implement '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
analyzerCode: FOR_IN_OF_INVALID_TYPE
|
analyzerCode: FOR_IN_OF_INVALID_TYPE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method() {
|
method() {
|
||||||
List<int>? list = null;
|
List<int>? list = null;
|
||||||
|
@ -4712,69 +4691,56 @@ ReturnFromVoidFunction:
|
||||||
|
|
||||||
ReturnWithoutExpressionSync:
|
ReturnWithoutExpressionSync:
|
||||||
problemMessage: "A value must be explicitly returned from a non-void function."
|
problemMessage: "A value must be explicitly returned from a non-void function."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
import "dart:async";
|
import "dart:async";
|
||||||
FutureOr<Object?> foo() { return; }
|
FutureOr<Object?> foo() { return; }
|
||||||
|
|
||||||
ReturnWithoutExpressionAsync:
|
ReturnWithoutExpressionAsync:
|
||||||
problemMessage: "A value must be explicitly returned from a non-void async function."
|
problemMessage: "A value must be explicitly returned from a non-void async function."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "Future<int> foo() async { return; }"
|
declaration: "Future<int> foo() async { return; }"
|
||||||
|
|
||||||
InvalidReturn:
|
InvalidReturn:
|
||||||
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2'."
|
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "int foo() { return true; }"
|
declaration: "int foo() { return true; }"
|
||||||
|
|
||||||
InvalidReturnNullability:
|
InvalidReturnNullability:
|
||||||
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "int foo(int? i) { return i; }"
|
declaration: "int foo(int? i) { return i; }"
|
||||||
|
|
||||||
InvalidReturnPartNullability:
|
InvalidReturnPartNullability:
|
||||||
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "List<int> foo(List<int?> list) { return list; }"
|
declaration: "List<int> foo(List<int?> list) { return list; }"
|
||||||
|
|
||||||
InvalidReturnNullabilityNull:
|
InvalidReturnNullabilityNull:
|
||||||
problemMessage: "The value 'null' can't be returned from a function with return type '#type' because '#type' is not nullable."
|
problemMessage: "The value 'null' can't be returned from a function with return type '#type' because '#type' is not nullable."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "int foo() { return null; }"
|
declaration: "int foo() { return null; }"
|
||||||
|
|
||||||
InvalidReturnNullabilityNullType:
|
InvalidReturnNullabilityNullType:
|
||||||
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2' because '#type2' is not nullable."
|
problemMessage: "A value of type '#type' can't be returned from a function with return type '#type2' because '#type2' is not nullable."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "int foo(Null i) { return i; }"
|
declaration: "int foo(Null i) { return i; }"
|
||||||
|
|
||||||
InvalidReturnAsync:
|
InvalidReturnAsync:
|
||||||
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2'."
|
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "Future<int> foo() async { return true; }"
|
declaration: "Future<int> foo() async { return true; }"
|
||||||
|
|
||||||
InvalidReturnAsyncNullability:
|
InvalidReturnAsyncNullability:
|
||||||
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "Future<int> foo(int? i) async { return i; }"
|
declaration: "Future<int> foo(int? i) async { return i; }"
|
||||||
|
|
||||||
InvalidReturnAsyncPartNullability:
|
InvalidReturnAsyncPartNullability:
|
||||||
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "Future<List<int>> foo(List<int?> list) async { return list; }"
|
declaration: "Future<List<int>> foo(List<int?> list) async { return list; }"
|
||||||
|
|
||||||
InvalidReturnAsyncNullabilityNull:
|
InvalidReturnAsyncNullabilityNull:
|
||||||
problemMessage: "The value 'null' can't be returned from an async function with return type '#type' because '#type' is not nullable."
|
problemMessage: "The value 'null' can't be returned from an async function with return type '#type' because '#type' is not nullable."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "Future<int> foo() async { return null; }"
|
declaration: "Future<int> foo() async { return null; }"
|
||||||
|
|
||||||
InvalidReturnAsyncNullabilityNullType:
|
InvalidReturnAsyncNullabilityNullType:
|
||||||
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2' because '#type2' is not nullable."
|
problemMessage: "A value of type '#type' can't be returned from an async function with return type '#type2' because '#type2' is not nullable."
|
||||||
configuration: nnbd-strong
|
|
||||||
declaration: "Future<int> foo(Null n) async { return n; }"
|
declaration: "Future<int> foo(Null n) async { return n; }"
|
||||||
|
|
||||||
ImplicitReturnNull:
|
ImplicitReturnNull:
|
||||||
problemMessage: "A non-null value must be returned since the return type '#type' doesn't allow null."
|
problemMessage: "A non-null value must be returned since the return type '#type' doesn't allow null."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
String method() {}
|
String method() {}
|
||||||
|
|
||||||
|
@ -4785,6 +4751,7 @@ RethrowNotCatch:
|
||||||
InvokeNonFunction:
|
InvokeNonFunction:
|
||||||
problemMessage: "'#name' isn't a function or method and can't be invoked."
|
problemMessage: "'#name' isn't a function or method and can't be invoked."
|
||||||
analyzerCode: INVOCATION_OF_NON_FUNCTION
|
analyzerCode: INVOCATION_OF_NON_FUNCTION
|
||||||
|
configuration: nnbd-weak
|
||||||
script: |
|
script: |
|
||||||
// @dart=2.9
|
// @dart=2.9
|
||||||
class Foo {
|
class Foo {
|
||||||
|
@ -5328,7 +5295,6 @@ SpreadElementTypeMismatch:
|
||||||
SpreadElementTypeMismatchNullability:
|
SpreadElementTypeMismatchNullability:
|
||||||
problemMessage: "Can't assign spread elements of type '#type' to collection elements of type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "Can't assign spread elements of type '#type' to collection elements of type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
analyzerCode: LIST_ELEMENT_TYPE_NOT_ASSIGNABLE
|
analyzerCode: LIST_ELEMENT_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
List<int?> a = <int?>[0, null];
|
List<int?> a = <int?>[0, null];
|
||||||
|
@ -5338,7 +5304,6 @@ SpreadElementTypeMismatchNullability:
|
||||||
SpreadElementTypeMismatchPartNullability:
|
SpreadElementTypeMismatchPartNullability:
|
||||||
problemMessage: "Can't assign spread elements of type '#type' to collection elements of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "Can't assign spread elements of type '#type' to collection elements of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
analyzerCode: LIST_ELEMENT_TYPE_NOT_ASSIGNABLE
|
analyzerCode: LIST_ELEMENT_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
List<List<int?>> a = <List<int?>>[[0, null]];
|
List<List<int?>> a = <List<int?>>[[0, null]];
|
||||||
|
@ -5371,7 +5336,6 @@ SpreadMapEntryElementKeyTypeMismatch:
|
||||||
SpreadMapEntryElementKeyTypeMismatchNullability:
|
SpreadMapEntryElementKeyTypeMismatchNullability:
|
||||||
problemMessage: "Can't assign spread entry keys of type '#type' to map entry keys of type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "Can't assign spread entry keys of type '#type' to map entry keys of type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
analyzerCode: MAP_KEY_TYPE_NOT_ASSIGNABLE
|
analyzerCode: MAP_KEY_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
Map<String?, int> a = <String?, int>{"foo": 42, null: 87};
|
Map<String?, int> a = <String?, int>{"foo": 42, null: 87};
|
||||||
|
@ -5381,7 +5345,6 @@ SpreadMapEntryElementKeyTypeMismatchNullability:
|
||||||
SpreadMapEntryElementKeyTypeMismatchPartNullability:
|
SpreadMapEntryElementKeyTypeMismatchPartNullability:
|
||||||
problemMessage: "Can't assign spread entry keys of type '#type' to map entry keys of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "Can't assign spread entry keys of type '#type' to map entry keys of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
analyzerCode: MAP_KEY_TYPE_NOT_ASSIGNABLE
|
analyzerCode: MAP_KEY_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
Map<List<String?>, int> a = <List<String?>, int>{["foo"]: 42, [null]: 87};
|
Map<List<String?>, int> a = <List<String?>, int>{["foo"]: 42, [null]: 87};
|
||||||
|
@ -5400,7 +5363,6 @@ SpreadMapEntryElementValueTypeMismatch:
|
||||||
SpreadMapEntryElementValueTypeMismatchNullability:
|
SpreadMapEntryElementValueTypeMismatchNullability:
|
||||||
problemMessage: "Can't assign spread entry values of type '#type' to map entry values of type '#type2' because '#type' is nullable and '#type2' isn't."
|
problemMessage: "Can't assign spread entry values of type '#type' to map entry values of type '#type2' because '#type' is nullable and '#type2' isn't."
|
||||||
analyzerCode: MAP_VALUE_TYPE_NOT_ASSIGNABLE
|
analyzerCode: MAP_VALUE_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
Map<String, int?> a = <String, int?>{"foo": 42, "bar": null};
|
Map<String, int?> a = <String, int?>{"foo": 42, "bar": null};
|
||||||
|
@ -5410,7 +5372,6 @@ SpreadMapEntryElementValueTypeMismatchNullability:
|
||||||
SpreadMapEntryElementValueTypeMismatchPartNullability:
|
SpreadMapEntryElementValueTypeMismatchPartNullability:
|
||||||
problemMessage: "Can't assign spread entry values of type '#type' to map entry values of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
problemMessage: "Can't assign spread entry values of type '#type' to map entry values of type '#type2' because '#type3' is nullable and '#type4' isn't."
|
||||||
analyzerCode: MAP_VALUE_TYPE_NOT_ASSIGNABLE
|
analyzerCode: MAP_VALUE_TYPE_NOT_ASSIGNABLE
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
main() {
|
main() {
|
||||||
Map<String, List<int?>> a = <String, List<int?>>{"foo": [42], "bar": [null]};
|
Map<String, List<int?>> a = <String, List<int?>>{"foo": [42], "bar": [null]};
|
||||||
|
@ -5540,11 +5501,11 @@ LanguageVersionMismatchInPart:
|
||||||
problemMessage: "The language version override has to be the same in the library and its part(s)."
|
problemMessage: "The language version override has to be the same in the library and its part(s)."
|
||||||
script:
|
script:
|
||||||
main.dart: >
|
main.dart: >
|
||||||
// @dart = 2.4
|
// @dart = 2.13
|
||||||
|
|
||||||
part 'part.dart';
|
part 'part.dart';
|
||||||
part.dart: >
|
part.dart: >
|
||||||
// @dart = 2.3
|
// @dart = 2.12
|
||||||
|
|
||||||
part of 'main.dart';
|
part of 'main.dart';
|
||||||
|
|
||||||
|
@ -5751,7 +5712,6 @@ OptionalNonNullableWithoutInitializerError:
|
||||||
problemMessage: "The parameter '#name' can't have a value of 'null' because of its type '#type', but the implicit default value is 'null'."
|
problemMessage: "The parameter '#name' can't have a value of 'null' because of its type '#type', but the implicit default value is 'null'."
|
||||||
correctionMessage: "Try adding either an explicit non-'null' default value or the 'required' modifier."
|
correctionMessage: "Try adding either an explicit non-'null' default value or the 'required' modifier."
|
||||||
analyzerCode: MISSING_DEFAULT_VALUE_FOR_PARAMETER
|
analyzerCode: MISSING_DEFAULT_VALUE_FOR_PARAMETER
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- method1({int a}) {}
|
- method1({int a}) {}
|
||||||
- method2([int a]) {}
|
- method2([int a]) {}
|
||||||
|
@ -6006,7 +5966,6 @@ JsInteropStaticInteropWithNonStaticSupertype:
|
||||||
|
|
||||||
NonNullableNotAssignedError:
|
NonNullableNotAssignedError:
|
||||||
problemMessage: "Non-nullable variable '#name' must be assigned before it can be used."
|
problemMessage: "Non-nullable variable '#name' must be assigned before it can be used."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method<T>() {
|
method<T>() {
|
||||||
T t; t;
|
T t; t;
|
||||||
|
@ -6015,7 +5974,6 @@ NonNullableNotAssignedError:
|
||||||
FinalNotAssignedError:
|
FinalNotAssignedError:
|
||||||
problemMessage: "Final variable '#name' must be assigned before it can be used."
|
problemMessage: "Final variable '#name' must be assigned before it can be used."
|
||||||
analyzerCode: READ_POTENTIALLY_UNASSIGNED_FINAL
|
analyzerCode: READ_POTENTIALLY_UNASSIGNED_FINAL
|
||||||
configuration: nnbd-strong
|
|
||||||
script: >
|
script: >
|
||||||
method(bool b) {
|
method(bool b) {
|
||||||
final int i;
|
final int i;
|
||||||
|
@ -6027,7 +5985,6 @@ FinalNotAssignedError:
|
||||||
|
|
||||||
LateDefinitelyUnassignedError:
|
LateDefinitelyUnassignedError:
|
||||||
problemMessage: "Late variable '#name' without initializer is definitely unassigned."
|
problemMessage: "Late variable '#name' without initializer is definitely unassigned."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method<T>() {
|
method<T>() {
|
||||||
late T t; t;
|
late T t; t;
|
||||||
|
@ -6035,7 +5992,6 @@ LateDefinitelyUnassignedError:
|
||||||
|
|
||||||
LateDefinitelyAssignedError:
|
LateDefinitelyAssignedError:
|
||||||
problemMessage: "Late final variable '#name' definitely assigned."
|
problemMessage: "Late final variable '#name' definitely assigned."
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method() {
|
method() {
|
||||||
late final int t;
|
late final int t;
|
||||||
|
@ -6046,7 +6002,6 @@ LateDefinitelyAssignedError:
|
||||||
FinalPossiblyAssignedError:
|
FinalPossiblyAssignedError:
|
||||||
problemMessage: "Final variable '#name' might already be assigned at this point."
|
problemMessage: "Final variable '#name' might already be assigned at this point."
|
||||||
analyzerCode: ASSIGNMENT_TO_FINAL_LOCAL
|
analyzerCode: ASSIGNMENT_TO_FINAL_LOCAL
|
||||||
configuration: nnbd-strong
|
|
||||||
script: |
|
script: |
|
||||||
method() {
|
method() {
|
||||||
final int i;
|
final int i;
|
||||||
|
@ -6135,13 +6090,11 @@ NeverValueError:
|
||||||
|
|
||||||
MainNotFunctionDeclaration:
|
MainNotFunctionDeclaration:
|
||||||
problemMessage: "The 'main' declaration must be a function declaration."
|
problemMessage: "The 'main' declaration must be a function declaration."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- var main;
|
- var main;
|
||||||
|
|
||||||
MainNotFunctionDeclarationExported:
|
MainNotFunctionDeclarationExported:
|
||||||
problemMessage: "The exported 'main' declaration must be a function declaration."
|
problemMessage: "The exported 'main' declaration must be a function declaration."
|
||||||
configuration: nnbd-strong
|
|
||||||
exampleAllowMoreCodes: true
|
exampleAllowMoreCodes: true
|
||||||
script:
|
script:
|
||||||
main.dart:
|
main.dart:
|
||||||
|
@ -6151,13 +6104,11 @@ MainNotFunctionDeclarationExported:
|
||||||
|
|
||||||
MainTooManyRequiredParameters:
|
MainTooManyRequiredParameters:
|
||||||
problemMessage: "The 'main' method must have at most 2 required parameters."
|
problemMessage: "The 'main' method must have at most 2 required parameters."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- main(a, b, c) {}
|
- main(a, b, c) {}
|
||||||
|
|
||||||
MainTooManyRequiredParametersExported:
|
MainTooManyRequiredParametersExported:
|
||||||
problemMessage: "The exported 'main' method must have at most 2 required parameters."
|
problemMessage: "The exported 'main' method must have at most 2 required parameters."
|
||||||
configuration: nnbd-strong
|
|
||||||
exampleAllowMoreCodes: true
|
exampleAllowMoreCodes: true
|
||||||
script:
|
script:
|
||||||
main.dart:
|
main.dart:
|
||||||
|
@ -6167,13 +6118,11 @@ MainTooManyRequiredParametersExported:
|
||||||
|
|
||||||
MainRequiredNamedParameters:
|
MainRequiredNamedParameters:
|
||||||
problemMessage: "The 'main' method cannot have required named parameters."
|
problemMessage: "The 'main' method cannot have required named parameters."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- main({required a}) {}
|
- main({required a}) {}
|
||||||
|
|
||||||
MainRequiredNamedParametersExported:
|
MainRequiredNamedParametersExported:
|
||||||
problemMessage: "The exported 'main' method cannot have required named parameters."
|
problemMessage: "The exported 'main' method cannot have required named parameters."
|
||||||
configuration: nnbd-strong
|
|
||||||
exampleAllowMoreCodes: true
|
exampleAllowMoreCodes: true
|
||||||
script:
|
script:
|
||||||
main.dart:
|
main.dart:
|
||||||
|
@ -6183,13 +6132,11 @@ MainRequiredNamedParametersExported:
|
||||||
|
|
||||||
MainWrongParameterType:
|
MainWrongParameterType:
|
||||||
problemMessage: "The type '#type' of the first parameter of the 'main' method is not a supertype of '#type2'."
|
problemMessage: "The type '#type' of the first parameter of the 'main' method is not a supertype of '#type2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
script:
|
script:
|
||||||
- main(Set<String> args) {}
|
- main(Set<String> args) {}
|
||||||
|
|
||||||
MainWrongParameterTypeExported:
|
MainWrongParameterTypeExported:
|
||||||
problemMessage: "The type '#type' of the first parameter of the exported 'main' method is not a supertype of '#type2'."
|
problemMessage: "The type '#type' of the first parameter of the exported 'main' method is not a supertype of '#type2'."
|
||||||
configuration: nnbd-strong
|
|
||||||
exampleAllowMoreCodes: true
|
exampleAllowMoreCodes: true
|
||||||
script:
|
script:
|
||||||
main.dart:
|
main.dart:
|
||||||
|
|
|
@ -9,6 +9,7 @@ import 'package:front_end/src/api_prototype/compiler_options.dart';
|
||||||
import 'package:front_end/src/api_prototype/experimental_flags.dart';
|
import 'package:front_end/src/api_prototype/experimental_flags.dart';
|
||||||
import 'package:front_end/src/api_prototype/kernel_generator.dart';
|
import 'package:front_end/src/api_prototype/kernel_generator.dart';
|
||||||
import 'package:front_end/src/api_prototype/language_version.dart';
|
import 'package:front_end/src/api_prototype/language_version.dart';
|
||||||
|
import 'package:front_end/src/base/nnbd_mode.dart';
|
||||||
import 'package:front_end/src/compute_platform_binaries_location.dart';
|
import 'package:front_end/src/compute_platform_binaries_location.dart';
|
||||||
import 'package:kernel/ast.dart';
|
import 'package:kernel/ast.dart';
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ Future<void> test(
|
||||||
required Version versionImpliesOptIn,
|
required Version versionImpliesOptIn,
|
||||||
required Version versionOptsInAllowed}) async {
|
required Version versionOptsInAllowed}) async {
|
||||||
CompilerOptions options = new CompilerOptions();
|
CompilerOptions options = new CompilerOptions();
|
||||||
|
options.nnbdMode = NnbdMode.Weak;
|
||||||
if (enableNonNullableByDefault) {
|
if (enableNonNullableByDefault) {
|
||||||
// Pretend non-nullable is on by default.
|
// Pretend non-nullable is on by default.
|
||||||
options.defaultExperimentFlagsForTesting = {
|
options.defaultExperimentFlagsForTesting = {
|
||||||
|
|
|
@ -19,6 +19,7 @@ import "package:front_end/src/api_prototype/memory_file_system.dart"
|
||||||
show MemoryFileSystem;
|
show MemoryFileSystem;
|
||||||
import "package:front_end/src/api_prototype/terminal_color_support.dart"
|
import "package:front_end/src/api_prototype/terminal_color_support.dart"
|
||||||
show printDiagnosticMessage;
|
show printDiagnosticMessage;
|
||||||
|
import 'package:front_end/src/base/nnbd_mode.dart' show NnbdMode;
|
||||||
import 'package:front_end/src/base/processed_options.dart'
|
import 'package:front_end/src/base/processed_options.dart'
|
||||||
show ProcessedOptions;
|
show ProcessedOptions;
|
||||||
import 'package:front_end/src/compute_platform_binaries_location.dart'
|
import 'package:front_end/src/compute_platform_binaries_location.dart'
|
||||||
|
@ -692,6 +693,8 @@ Future<Context> createContext(
|
||||||
errors.add(message);
|
errors.add(message);
|
||||||
}
|
}
|
||||||
..environmentDefines = const {}
|
..environmentDefines = const {}
|
||||||
|
// TODO(johnniwinther): We should default to strong mode.
|
||||||
|
..nnbdMode = NnbdMode.Weak
|
||||||
..explicitExperimentalFlags = {}
|
..explicitExperimentalFlags = {}
|
||||||
..allowedExperimentalFlagsForTesting = const AllowedExperimentalFlags();
|
..allowedExperimentalFlagsForTesting = const AllowedExperimentalFlags();
|
||||||
|
|
||||||
|
@ -709,6 +712,7 @@ Future<Context> createContext(
|
||||||
errors.add(message);
|
errors.add(message);
|
||||||
}
|
}
|
||||||
..environmentDefines = const {}
|
..environmentDefines = const {}
|
||||||
|
..nnbdMode = NnbdMode.Weak
|
||||||
..explicitExperimentalFlags = {ExperimentalFlag.nonNullable: false}
|
..explicitExperimentalFlags = {ExperimentalFlag.nonNullable: false}
|
||||||
..allowedExperimentalFlagsForTesting = const AllowedExperimentalFlags();
|
..allowedExperimentalFlagsForTesting = const AllowedExperimentalFlags();
|
||||||
|
|
||||||
|
|
|
@ -5,47 +5,34 @@
|
||||||
library fasta.test.incremental_test;
|
library fasta.test.incremental_test;
|
||||||
|
|
||||||
import "dart:convert" show JsonEncoder;
|
import "dart:convert" show JsonEncoder;
|
||||||
|
|
||||||
import "dart:io" show File;
|
import "dart:io" show File;
|
||||||
|
|
||||||
import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity;
|
import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity;
|
||||||
import 'package:front_end/src/api_prototype/experimental_flags.dart';
|
|
||||||
|
|
||||||
import "package:kernel/ast.dart" show Component;
|
|
||||||
|
|
||||||
import "package:testing/testing.dart"
|
|
||||||
show Chain, ChainContext, Result, Step, TestDescription;
|
|
||||||
|
|
||||||
import "package:testing/src/log.dart" show splitLines;
|
|
||||||
|
|
||||||
import "package:yaml/yaml.dart" show YamlMap, loadYamlNode;
|
|
||||||
|
|
||||||
import "package:front_end/src/api_prototype/compiler_options.dart"
|
import "package:front_end/src/api_prototype/compiler_options.dart"
|
||||||
show CompilerOptions, DiagnosticMessage;
|
show CompilerOptions, DiagnosticMessage;
|
||||||
|
import 'package:front_end/src/api_prototype/experimental_flags.dart';
|
||||||
import "package:front_end/src/api_prototype/incremental_kernel_generator.dart"
|
import "package:front_end/src/api_prototype/incremental_kernel_generator.dart"
|
||||||
show IncrementalKernelGenerator;
|
show IncrementalKernelGenerator;
|
||||||
|
|
||||||
import "package:front_end/src/api_prototype/memory_file_system.dart"
|
import "package:front_end/src/api_prototype/memory_file_system.dart"
|
||||||
show MemoryFileSystem;
|
show MemoryFileSystem;
|
||||||
|
|
||||||
import "package:front_end/src/api_prototype/terminal_color_support.dart"
|
import "package:front_end/src/api_prototype/terminal_color_support.dart"
|
||||||
show printDiagnosticMessage;
|
show printDiagnosticMessage;
|
||||||
|
import 'package:front_end/src/base/nnbd_mode.dart' show NnbdMode;
|
||||||
import 'package:front_end/src/compute_platform_binaries_location.dart'
|
|
||||||
show computePlatformBinariesLocation;
|
|
||||||
|
|
||||||
import 'package:front_end/src/base/processed_options.dart'
|
import 'package:front_end/src/base/processed_options.dart'
|
||||||
show ProcessedOptions;
|
show ProcessedOptions;
|
||||||
|
import 'package:front_end/src/compute_platform_binaries_location.dart'
|
||||||
|
show computePlatformBinariesLocation;
|
||||||
import 'package:front_end/src/fasta/compiler_context.dart' show CompilerContext;
|
import 'package:front_end/src/fasta/compiler_context.dart' show CompilerContext;
|
||||||
|
|
||||||
import 'package:front_end/src/fasta/incremental_compiler.dart'
|
import 'package:front_end/src/fasta/incremental_compiler.dart'
|
||||||
show IncrementalCompiler;
|
show IncrementalCompiler;
|
||||||
|
import "package:kernel/ast.dart" show Component;
|
||||||
|
import "package:testing/src/log.dart" show splitLines;
|
||||||
|
import "package:testing/testing.dart"
|
||||||
|
show Chain, ChainContext, Result, Step, TestDescription;
|
||||||
|
import "package:yaml/yaml.dart" show YamlMap, loadYamlNode;
|
||||||
|
|
||||||
import "incremental_expectations.dart"
|
import "incremental_expectations.dart"
|
||||||
show IncrementalExpectation, extractJsonExpectations;
|
show IncrementalExpectation, extractJsonExpectations;
|
||||||
|
|
||||||
import "incremental_source_files.dart" show expandDiff, expandUpdates;
|
import "incremental_source_files.dart" show expandDiff, expandUpdates;
|
||||||
import "suite_utils.dart";
|
import "suite_utils.dart";
|
||||||
|
|
||||||
|
@ -231,6 +218,7 @@ Future<Context> createContext(
|
||||||
..fileSystem = fs
|
..fileSystem = fs
|
||||||
..sdkSummary = sdkSummary
|
..sdkSummary = sdkSummary
|
||||||
..explicitExperimentalFlags = {ExperimentalFlag.nonNullable: false}
|
..explicitExperimentalFlags = {ExperimentalFlag.nonNullable: false}
|
||||||
|
..nnbdMode = NnbdMode.Weak
|
||||||
..onDiagnostic = (DiagnosticMessage message) {
|
..onDiagnostic = (DiagnosticMessage message) {
|
||||||
printDiagnosticMessage(message, print);
|
printDiagnosticMessage(message, print);
|
||||||
if (message.severity == Severity.error) {
|
if (message.severity == Severity.error) {
|
||||||
|
|
|
@ -76,7 +76,7 @@ class ProcessedOptionsTest {
|
||||||
fileUri: Uri.parse('org-dartlang-test:///a/b.dart'))
|
fileUri: Uri.parse('org-dartlang-test:///a/b.dart'))
|
||||||
])
|
])
|
||||||
..setMainMethodAndMode(
|
..setMainMethodAndMode(
|
||||||
null, false, NonNullableByDefaultCompiledMode.Weak);
|
null, false, NonNullableByDefaultCompiledMode.Strong);
|
||||||
|
|
||||||
void test_compileSdk_false() {
|
void test_compileSdk_false() {
|
||||||
for (var value in [false, true]) {
|
for (var value in [false, true]) {
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// for details. All rights reserved. Use of this source code is governed by a
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'dart:io' show exitCode, File, stdout;
|
import 'dart:io' show File, stdout;
|
||||||
|
|
||||||
import 'package:front_end/src/api_prototype/compiler_options.dart';
|
import 'package:front_end/src/api_prototype/compiler_options.dart';
|
||||||
import 'package:front_end/src/api_prototype/incremental_kernel_generator.dart';
|
import 'package:front_end/src/api_prototype/incremental_kernel_generator.dart';
|
||||||
import 'package:front_end/src/api_prototype/memory_file_system.dart';
|
import 'package:front_end/src/api_prototype/memory_file_system.dart';
|
||||||
|
import 'package:front_end/src/base/nnbd_mode.dart';
|
||||||
import 'package:front_end/src/compute_platform_binaries_location.dart';
|
import 'package:front_end/src/compute_platform_binaries_location.dart';
|
||||||
import 'package:front_end/src/fasta/kernel/utils.dart';
|
import 'package:front_end/src/fasta/kernel/utils.dart';
|
||||||
import 'package:front_end/src/fasta/messages.dart';
|
import 'package:front_end/src/fasta/messages.dart';
|
||||||
|
@ -57,7 +58,7 @@ Future<void> main() async {
|
||||||
print(source);
|
print(source);
|
||||||
print("----");
|
print("----");
|
||||||
}
|
}
|
||||||
exitCode = 1;
|
throw "Errors found!";
|
||||||
}
|
}
|
||||||
if (!hasNewline) print("");
|
if (!hasNewline) print("");
|
||||||
}
|
}
|
||||||
|
@ -135,6 +136,7 @@ class TestCompiler {
|
||||||
fs.entityForUri(sdkSummary).writeAsBytesSync(sdkSummaryData);
|
fs.entityForUri(sdkSummary).writeAsBytesSync(sdkSummaryData);
|
||||||
|
|
||||||
CompilerOptions options = helper.getOptions();
|
CompilerOptions options = helper.getOptions();
|
||||||
|
options.nnbdMode = NnbdMode.Weak;
|
||||||
options.fileSystem = fs;
|
options.fileSystem = fs;
|
||||||
options.sdkRoot = null;
|
options.sdkRoot = null;
|
||||||
options.sdkSummary = sdkSummary;
|
options.sdkSummary = sdkSummary;
|
||||||
|
|
|
@ -63,7 +63,7 @@ static method test(js_::JSAny /* erasure=dart.core::Object */ any) → void {
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=_interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as{ForLegacy} js_::JSObject /* erasure=_interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as{ForLegacy} js_::JSObject /* erasure=_interceptors::JSObject */]));
|
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=_interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as js_::JSObject /* erasure=_interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as js_::JSObject /* erasure=_interceptors::JSObject */]));
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
||||||
|
|
|
@ -63,7 +63,7 @@ static method test(js_::JSAny /* erasure=dart.core::Object */ any) → void {
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=_interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as{ForLegacy} js_::JSObject /* erasure=_interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as{ForLegacy} js_::JSObject /* erasure=_interceptors::JSObject */]));
|
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=_interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as js_::JSObject /* erasure=_interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as js_::JSObject /* erasure=_interceptors::JSObject */]));
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
||||||
|
|
|
@ -28,7 +28,7 @@ static method asyncMethod(asy::Stream<core::int> stream) → dynamic async /* em
|
||||||
#L1:
|
#L1:
|
||||||
for (; ; ) {
|
for (; ; ) {
|
||||||
:async_temporary_0 = await #forIterator.{asy::_StreamIterator::moveNext}(){() → asy::Future<core::bool>};
|
:async_temporary_0 = await #forIterator.{asy::_StreamIterator::moveNext}(){() → asy::Future<core::bool>};
|
||||||
if(#jumpSentinel = :async_temporary_0 as{ForLegacy} dynamic) {
|
if(#jumpSentinel = :async_temporary_0 as dynamic) {
|
||||||
core::int i = #forIterator.{asy::_StreamIterator::current}{core::int};
|
core::int i = #forIterator.{asy::_StreamIterator::current}{core::int};
|
||||||
{
|
{
|
||||||
core::print(i);
|
core::print(i);
|
||||||
|
|
|
@ -16,18 +16,18 @@ static method runBench([typ::Uint8List? data = #C1]) → void async /* emittedVa
|
||||||
typ::Uint8List? :async_temporary_1;
|
typ::Uint8List? :async_temporary_1;
|
||||||
if(data == null) {
|
if(data == null) {
|
||||||
:async_temporary_0 = await self::getBinaryTestProto();
|
:async_temporary_0 = await self::getBinaryTestProto();
|
||||||
:async_temporary_1 = data = :async_temporary_0 as{ForLegacy} dynamic;
|
:async_temporary_1 = data = :async_temporary_0 as dynamic;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
:async_temporary_1 = null;
|
:async_temporary_1 = null;
|
||||||
}
|
}
|
||||||
:async_temporary_1 as{ForLegacy} dynamic;
|
:async_temporary_1 as dynamic;
|
||||||
core::print(data{typ::Uint8List});
|
core::print(data{typ::Uint8List});
|
||||||
}
|
}
|
||||||
static method main() → void async /* emittedValueType= void */ {
|
static method main() → void async /* emittedValueType= void */ {
|
||||||
typ::Uint8List :async_temporary_0;
|
typ::Uint8List :async_temporary_0;
|
||||||
:async_temporary_0 = await self::getBinaryTestProto();
|
:async_temporary_0 = await self::getBinaryTestProto();
|
||||||
typ::Uint8List data = :async_temporary_0 as{ForLegacy} dynamic;
|
typ::Uint8List data = :async_temporary_0 as dynamic;
|
||||||
core::print("File successfully read, contents: ${data}");
|
core::print("File successfully read, contents: ${data}");
|
||||||
self::runBench(data);
|
self::runBench(data);
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ static method asyncMethod(asy::Stream<core::int> stream) → asy::Stream<core::i
|
||||||
#controller.{asy::StreamController::add}(1){(core::Object?) → void};
|
#controller.{asy::StreamController::add}(1){(core::Object?) → void};
|
||||||
if(#controller.{asy::StreamController::isPaused}{core::bool}) {
|
if(#controller.{asy::StreamController::isPaused}{core::bool}) {
|
||||||
:async_temporary_0 = await(#paused = asy::Completer::•<void>()).{asy::Completer::future}{asy::Future<void>};
|
:async_temporary_0 = await(#paused = asy::Completer::•<void>()).{asy::Completer::future}{asy::Future<void>};
|
||||||
:async_temporary_0 as{ForLegacy} dynamic;
|
:async_temporary_0 as dynamic;
|
||||||
}
|
}
|
||||||
if(#controller.{asy::StreamController::hasListener}{core::bool}) {
|
if(#controller.{asy::StreamController::hasListener}{core::bool}) {
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ static method asyncMethod(asy::Stream<core::int> stream) → asy::Stream<core::i
|
||||||
#controller.{asy::StreamController::add}(2){(core::Object?) → void};
|
#controller.{asy::StreamController::add}(2){(core::Object?) → void};
|
||||||
if(#controller.{asy::StreamController::isPaused}{core::bool}) {
|
if(#controller.{asy::StreamController::isPaused}{core::bool}) {
|
||||||
:async_temporary_1 = await(#paused = asy::Completer::•<void>()).{asy::Completer::future}{asy::Future<void>};
|
:async_temporary_1 = await(#paused = asy::Completer::•<void>()).{asy::Completer::future}{asy::Future<void>};
|
||||||
:async_temporary_1 as{ForLegacy} dynamic;
|
:async_temporary_1 as dynamic;
|
||||||
}
|
}
|
||||||
if(#controller.{asy::StreamController::hasListener}{core::bool}) {
|
if(#controller.{asy::StreamController::hasListener}{core::bool}) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ static method test(js_::JSAny /* erasure=dart.core::Object */ any) → void {
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=dart._interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as{ForLegacy} js_::JSObject /* erasure=dart._interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as{ForLegacy} js_::JSObject /* erasure=dart._interceptors::JSObject */]));
|
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=dart._interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as js_::JSObject /* erasure=dart._interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as js_::JSObject /* erasure=dart._interceptors::JSObject */]));
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
||||||
|
|
|
@ -63,7 +63,7 @@ static method test(js_::JSAny /* erasure=dart.core::Object */ any) → void {
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
any == null || js_::JSAnyUtilityExtension|instanceOfString(any, "Object");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "Array");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=dart._interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as{ForLegacy} js_::JSObject /* erasure=dart._interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as{ForLegacy} js_::JSObject /* erasure=dart._interceptors::JSObject */]));
|
!(any == null) && js_::JSAnyUtilityExtension|instanceof(any, js_2::JSObjectUnsafeUtilExtension|callMethodVarArgs<js_::JSFunction /* erasure=dart._interceptors::JavaScriptFunction */>(js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Object") as js_::JSObject /* erasure=dart._interceptors::JSObject */, js_::StringToJSString|get#toJS("getPrototypeOf"), <js_::JSAny? /* erasure=dart.core::Object? */>[js_2::JSObjectUnsafeUtilExtension|[](js_::globalContext, "Int8Array") as js_::JSObject /* erasure=dart._interceptors::JSObject */]));
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSAny");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomJSObject");
|
||||||
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
!(any == null) && js_::JSAnyUtilityExtension|instanceOfString(any, "library1.CustomTypedArray");
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Errors: {
|
Errors: {
|
||||||
}
|
}
|
||||||
method /*isNonNullableByDefault, from org-dartlang-debug:synthetic_debug_expression */ debugExpr() → dynamic
|
method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr() → dynamic
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///hello.dart" show main;
|
export "org-dartlang-testcase:///hello.dart" show main;
|
||||||
export "org-dartlang-testcase:///map.dart" show main;
|
export "org-dartlang-testcase:///map.dart" show main;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self2;
|
import self as self2;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///hello.dart" show main;
|
export "org-dartlang-testcase:///hello.dart" show main;
|
||||||
export "org-dartlang-testcase:///map.dart" show main;
|
export "org-dartlang-testcase:///map.dart" show main;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self2;
|
import self as self2;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///hello.dart" show main;
|
export "org-dartlang-testcase:///hello.dart" show main;
|
||||||
export "org-dartlang-testcase:///map.dart" show main;
|
export "org-dartlang-testcase:///map.dart" show main;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self2;
|
import self as self2;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///hello.dart" show main;
|
export "org-dartlang-testcase:///hello.dart" show main;
|
||||||
export "org-dartlang-testcase:///map.dart" show main;
|
export "org-dartlang-testcase:///map.dart" show main;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self2;
|
import self as self2;
|
||||||
|
|
|
@ -11,7 +11,7 @@ import self as self;
|
||||||
export "org-dartlang-testcase:///hello.dart" show main;
|
export "org-dartlang-testcase:///hello.dart" show main;
|
||||||
export "org-dartlang-testcase:///map.dart" show main;
|
export "org-dartlang-testcase:///map.dart" show main;
|
||||||
|
|
||||||
static const field dynamic _exports# = "{\"main\":\"'main' is exported from both 'pkg/front_end/testcases/general/hello.dart' and 'pkg/front_end/testcases/general/map.dart'.\"}" /*isLegacy*/;
|
static const field dynamic _exports# = "{\"main\":\"'main' is exported from both 'pkg/front_end/testcases/general/hello.dart' and 'pkg/front_end/testcases/general/map.dart'.\"}";
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self2;
|
import self as self2;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///hello.dart" show main;
|
export "org-dartlang-testcase:///hello.dart" show main;
|
||||||
export "org-dartlang-testcase:///map.dart" show main;
|
export "org-dartlang-testcase:///map.dart" show main;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self2;
|
import self as self2;
|
||||||
|
|
|
@ -179,7 +179,7 @@ export "dart:core";
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self3;
|
import self as self3;
|
||||||
|
|
|
@ -175,7 +175,7 @@ export "dart:core";
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self3;
|
import self as self3;
|
||||||
|
|
|
@ -179,7 +179,7 @@ export "dart:core";
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self3;
|
import self as self3;
|
||||||
|
|
|
@ -114,7 +114,7 @@ export "dart:core";
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self3;
|
import self as self3;
|
||||||
|
|
|
@ -175,7 +175,7 @@ export "dart:core";
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
import self as self3;
|
import self as self3;
|
||||||
|
|
|
@ -75,7 +75,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
//
|
//
|
||||||
|
|
|
@ -69,7 +69,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
//
|
//
|
||||||
|
|
|
@ -75,7 +75,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
//
|
//
|
||||||
|
|
|
@ -34,7 +34,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
//
|
//
|
||||||
|
|
|
@ -69,7 +69,7 @@ import "dart:core" as core;
|
||||||
export "org-dartlang-testcase:///main_lib2.dart";
|
export "org-dartlang-testcase:///main_lib2.dart";
|
||||||
export "org-dartlang-testcase:///main_lib3.dart";
|
export "org-dartlang-testcase:///main_lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
|
|
||||||
library;
|
library;
|
||||||
//
|
//
|
||||||
|
|
|
@ -59,17 +59,17 @@ abstract class Class<T extends core::Object? = dynamic> extends self::Super<self
|
||||||
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter4} = a;
|
return super.{self::Super::setter4} = a;
|
||||||
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::method1}(a as{ForLegacy} core::int);
|
return super.{self::Super::method1}(a as core::int);
|
||||||
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
||||||
return super.{self::Super::method2}(a: a as{ForLegacy} core::int?);
|
return super.{self::Super::method2}(a: a as core::int?);
|
||||||
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::method7}(a as{ForLegacy} core::List<self::Class::T%>);
|
return super.{self::Super::method7}(a as core::List<self::Class::T%>);
|
||||||
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
||||||
return super.{self::Super::method8}(a: a as{ForLegacy} core::List<self::Class::T%>?);
|
return super.{self::Super::method8}(a: a as core::List<self::Class::T%>?);
|
||||||
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::setter1} = a as{ForLegacy} core::int;
|
return super.{self::Super::setter1} = a as core::int;
|
||||||
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter3} = a as{ForLegacy} core::List<self::Class::T%>;
|
return super.{self::Super::setter3} = a as core::List<self::Class::T%>;
|
||||||
}
|
}
|
||||||
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
||||||
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
||||||
|
|
|
@ -59,17 +59,17 @@ abstract class Class<T extends core::Object? = dynamic> extends self::Super<self
|
||||||
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter4} = a;
|
return super.{self::Super::setter4} = a;
|
||||||
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::method1}(a as{ForLegacy} core::int);
|
return super.{self::Super::method1}(a as core::int);
|
||||||
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
||||||
return super.{self::Super::method2}(a: a as{ForLegacy} core::int?);
|
return super.{self::Super::method2}(a: a as core::int?);
|
||||||
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::method7}(a as{ForLegacy} core::List<self::Class::T%>);
|
return super.{self::Super::method7}(a as core::List<self::Class::T%>);
|
||||||
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
||||||
return super.{self::Super::method8}(a: a as{ForLegacy} core::List<self::Class::T%>?);
|
return super.{self::Super::method8}(a: a as core::List<self::Class::T%>?);
|
||||||
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::setter1} = a as{ForLegacy} core::int;
|
return super.{self::Super::setter1} = a as core::int;
|
||||||
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter3} = a as{ForLegacy} core::List<self::Class::T%>;
|
return super.{self::Super::setter3} = a as core::List<self::Class::T%>;
|
||||||
}
|
}
|
||||||
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
||||||
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
||||||
|
|
|
@ -59,17 +59,17 @@ abstract class Class<T extends core::Object? = dynamic> extends self::Super<self
|
||||||
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter4} = a;
|
return super.{self::Super::setter4} = a;
|
||||||
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::method1}(a as{ForLegacy} core::int);
|
return super.{self::Super::method1}(a as core::int);
|
||||||
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
||||||
return super.{self::Super::method2}(a: a as{ForLegacy} core::int?);
|
return super.{self::Super::method2}(a: a as core::int?);
|
||||||
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::method7}(a as{ForLegacy} core::List<self::Class::T%>);
|
return super.{self::Super::method7}(a as core::List<self::Class::T%>);
|
||||||
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
||||||
return super.{self::Super::method8}(a: a as{ForLegacy} core::List<self::Class::T%>?);
|
return super.{self::Super::method8}(a: a as core::List<self::Class::T%>?);
|
||||||
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::setter1} = a as{ForLegacy} core::int;
|
return super.{self::Super::setter1} = a as core::int;
|
||||||
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter3} = a as{ForLegacy} core::List<self::Class::T%>;
|
return super.{self::Super::setter3} = a as core::List<self::Class::T%>;
|
||||||
}
|
}
|
||||||
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
||||||
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
||||||
|
|
|
@ -59,17 +59,17 @@ abstract class Class<T extends core::Object? = dynamic> extends self::Super<self
|
||||||
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter4} = a;
|
return super.{self::Super::setter4} = a;
|
||||||
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::method1}(a as{ForLegacy} core::int);
|
return super.{self::Super::method1}(a as core::int);
|
||||||
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
||||||
return super.{self::Super::method2}(a: a as{ForLegacy} core::int?);
|
return super.{self::Super::method2}(a: a as core::int?);
|
||||||
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::method7}(a as{ForLegacy} core::List<self::Class::T%>);
|
return super.{self::Super::method7}(a as core::List<self::Class::T%>);
|
||||||
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
||||||
return super.{self::Super::method8}(a: a as{ForLegacy} core::List<self::Class::T%>?);
|
return super.{self::Super::method8}(a: a as core::List<self::Class::T%>?);
|
||||||
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::setter1} = a as{ForLegacy} core::int;
|
return super.{self::Super::setter1} = a as core::int;
|
||||||
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter3} = a as{ForLegacy} core::List<self::Class::T%>;
|
return super.{self::Super::setter3} = a as core::List<self::Class::T%>;
|
||||||
}
|
}
|
||||||
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
||||||
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
||||||
|
|
|
@ -78,17 +78,17 @@ abstract class Class<T extends core::Object? = dynamic> extends self::Super<self
|
||||||
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter4} = a;
|
return super.{self::Super::setter4} = a;
|
||||||
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::method1}(a as{ForLegacy} core::int);
|
return super.{self::Super::method1}(a as core::int);
|
||||||
forwarding-stub method method2({covariant-by-declaration core::num? a}) → void
|
forwarding-stub method method2({covariant-by-declaration core::num? a}) → void
|
||||||
return super.{self::Super::method2}(a: a as{ForLegacy} core::int?);
|
return super.{self::Super::method2}(a: a as core::int?);
|
||||||
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::method7}(a as{ForLegacy} core::List<self::Class::T%>);
|
return super.{self::Super::method7}(a as core::List<self::Class::T%>);
|
||||||
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a}) → void
|
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a}) → void
|
||||||
return super.{self::Super::method8}(a: a as{ForLegacy} core::List<self::Class::T%>?);
|
return super.{self::Super::method8}(a: a as core::List<self::Class::T%>?);
|
||||||
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::setter1} = a as{ForLegacy} core::int;
|
return super.{self::Super::setter1} = a as core::int;
|
||||||
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter3} = a as{ForLegacy} core::List<self::Class::T%>;
|
return super.{self::Super::setter3} = a as core::List<self::Class::T%>;
|
||||||
}
|
}
|
||||||
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
||||||
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
||||||
|
|
|
@ -59,17 +59,17 @@ abstract class Class<T extends core::Object? = dynamic> extends self::Super<self
|
||||||
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub forwarding-semi-stub set /* signature-type: (core::List<self::Class::T%>) → void */ setter4(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter4} = a;
|
return super.{self::Super::setter4} = a;
|
||||||
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
forwarding-stub method method1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::method1}(a as{ForLegacy} core::int);
|
return super.{self::Super::method1}(a as core::int);
|
||||||
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
forwarding-stub method method2({covariant-by-declaration core::num? a = #C1}) → void
|
||||||
return super.{self::Super::method2}(a: a as{ForLegacy} core::int?);
|
return super.{self::Super::method2}(a: a as core::int?);
|
||||||
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub method method7(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::method7}(a as{ForLegacy} core::List<self::Class::T%>);
|
return super.{self::Super::method7}(a as core::List<self::Class::T%>);
|
||||||
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
forwarding-stub method method8({covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%>? a = #C1}) → void
|
||||||
return super.{self::Super::method8}(a: a as{ForLegacy} core::List<self::Class::T%>?);
|
return super.{self::Super::method8}(a: a as core::List<self::Class::T%>?);
|
||||||
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
forwarding-stub set setter1(covariant-by-declaration core::num a) → void
|
||||||
return super.{self::Super::setter1} = a as{ForLegacy} core::int;
|
return super.{self::Super::setter1} = a as core::int;
|
||||||
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
forwarding-stub set setter3(covariant-by-declaration covariant-by-class core::Iterable<self::Class::T%> a) → void
|
||||||
return super.{self::Super::setter3} = a as{ForLegacy} core::List<self::Class::T%>;
|
return super.{self::Super::setter3} = a as core::List<self::Class::T%>;
|
||||||
}
|
}
|
||||||
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
class Subclass<T extends core::Object? = dynamic> extends self::Class<self::Subclass::T%> {
|
||||||
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
synthetic constructor •() → self::Subclass<self::Subclass::T%>
|
||||||
|
|
|
@ -30,13 +30,13 @@ abstract class _C&A&B = self::A with self::B<core::num> /*isAnonymousMixin*/ {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub set boz(covariant-by-class core::num x) → void
|
forwarding-stub set boz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::boz} = x as{ForLegacy} core::int;
|
return super.{self::A::boz} = x as core::int;
|
||||||
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
||||||
return super.{self::A::foo}(x as{ForLegacy} core::int);
|
return super.{self::A::foo}(x as core::int);
|
||||||
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
||||||
return super.{self::A::bar}(x: x as{ForLegacy} core::int);
|
return super.{self::A::bar}(x: x as core::int);
|
||||||
forwarding-stub set baz(covariant-by-class core::num x) → void
|
forwarding-stub set baz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::baz} = x as{ForLegacy} core::int;
|
return super.{self::A::baz} = x as core::int;
|
||||||
}
|
}
|
||||||
class C extends self::_C&A&B {
|
class C extends self::_C&A&B {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
|
|
|
@ -30,13 +30,13 @@ abstract class _C&A&B extends self::A implements self::B<core::num> /*isAnonymou
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
set boz(covariant-by-class core::num x) → void
|
set boz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::boz} = x as{ForLegacy} core::int;
|
return super.{self::A::boz} = x as core::int;
|
||||||
method foo(covariant-by-class core::num x) → core::num
|
method foo(covariant-by-class core::num x) → core::num
|
||||||
return super.{self::A::foo}(x as{ForLegacy} core::int);
|
return super.{self::A::foo}(x as core::int);
|
||||||
method bar({required covariant-by-class core::num x}) → core::num
|
method bar({required covariant-by-class core::num x}) → core::num
|
||||||
return super.{self::A::bar}(x: x as{ForLegacy} core::int);
|
return super.{self::A::bar}(x: x as core::int);
|
||||||
set baz(covariant-by-class core::num x) → void
|
set baz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::baz} = x as{ForLegacy} core::int;
|
return super.{self::A::baz} = x as core::int;
|
||||||
}
|
}
|
||||||
class C extends self::_C&A&B {
|
class C extends self::_C&A&B {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
|
|
|
@ -30,13 +30,13 @@ abstract class _C&A&B = self::A with self::B<core::num> /*isAnonymousMixin*/ {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub set boz(covariant-by-class core::num x) → void
|
forwarding-stub set boz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::boz} = x as{ForLegacy} core::int;
|
return super.{self::A::boz} = x as core::int;
|
||||||
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
||||||
return super.{self::A::foo}(x as{ForLegacy} core::int);
|
return super.{self::A::foo}(x as core::int);
|
||||||
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
||||||
return super.{self::A::bar}(x: x as{ForLegacy} core::int);
|
return super.{self::A::bar}(x: x as core::int);
|
||||||
forwarding-stub set baz(covariant-by-class core::num x) → void
|
forwarding-stub set baz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::baz} = x as{ForLegacy} core::int;
|
return super.{self::A::baz} = x as core::int;
|
||||||
}
|
}
|
||||||
class C extends self::_C&A&B {
|
class C extends self::_C&A&B {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
|
|
|
@ -30,13 +30,13 @@ abstract class _C&A&B = self::A with self::B<core::num> /*isAnonymousMixin*/ {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub set boz(covariant-by-class core::num x) → void
|
forwarding-stub set boz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::boz} = x as{ForLegacy} core::int;
|
return super.{self::A::boz} = x as core::int;
|
||||||
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
||||||
return super.{self::A::foo}(x as{ForLegacy} core::int);
|
return super.{self::A::foo}(x as core::int);
|
||||||
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
||||||
return super.{self::A::bar}(x: x as{ForLegacy} core::int);
|
return super.{self::A::bar}(x: x as core::int);
|
||||||
forwarding-stub set baz(covariant-by-class core::num x) → void
|
forwarding-stub set baz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::baz} = x as{ForLegacy} core::int;
|
return super.{self::A::baz} = x as core::int;
|
||||||
}
|
}
|
||||||
class C extends self::_C&A&B {
|
class C extends self::_C&A&B {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
|
|
|
@ -24,13 +24,13 @@ abstract class _C&A&B = self::A with self::B<core::num> /*isAnonymousMixin*/ {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub set boz(covariant-by-class core::num x) → void
|
forwarding-stub set boz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::boz} = x as{ForLegacy} core::int;
|
return super.{self::A::boz} = x as core::int;
|
||||||
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
forwarding-stub method foo(covariant-by-class core::num x) → core::num
|
||||||
return super.{self::A::foo}(x as{ForLegacy} core::int);
|
return super.{self::A::foo}(x as core::int);
|
||||||
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
forwarding-stub method bar({required covariant-by-class core::num x}) → core::num
|
||||||
return super.{self::A::bar}(x: x as{ForLegacy} core::int);
|
return super.{self::A::bar}(x: x as core::int);
|
||||||
forwarding-stub set baz(covariant-by-class core::num x) → void
|
forwarding-stub set baz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::baz} = x as{ForLegacy} core::int;
|
return super.{self::A::baz} = x as core::int;
|
||||||
}
|
}
|
||||||
class C extends self::_C&A&B {
|
class C extends self::_C&A&B {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
|
|
|
@ -30,13 +30,13 @@ abstract class _C&A&B extends self::A implements self::B<core::num> /*isAnonymou
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
set boz(covariant-by-class core::num x) → void
|
set boz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::boz} = x as{ForLegacy} core::int;
|
return super.{self::A::boz} = x as core::int;
|
||||||
method foo(covariant-by-class core::num x) → core::num
|
method foo(covariant-by-class core::num x) → core::num
|
||||||
return super.{self::A::foo}(x as{ForLegacy} core::int);
|
return super.{self::A::foo}(x as core::int);
|
||||||
method bar({required covariant-by-class core::num x}) → core::num
|
method bar({required covariant-by-class core::num x}) → core::num
|
||||||
return super.{self::A::bar}(x: x as{ForLegacy} core::int);
|
return super.{self::A::bar}(x: x as core::int);
|
||||||
set baz(covariant-by-class core::num x) → void
|
set baz(covariant-by-class core::num x) → void
|
||||||
return super.{self::A::baz} = x as{ForLegacy} core::int;
|
return super.{self::A::baz} = x as core::int;
|
||||||
}
|
}
|
||||||
class C extends self::_C&A&B {
|
class C extends self::_C&A&B {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
|
|
|
@ -19,7 +19,7 @@ class C extends self::A implements self::I {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
||||||
return super.{self::A::m}(n as{ForLegacy} core::int);
|
return super.{self::A::m}(n as core::int);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
||||||
|
|
|
@ -19,7 +19,7 @@ class C extends self::A implements self::I {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
||||||
return super.{self::A::m}(n as{ForLegacy} core::int);
|
return super.{self::A::m}(n as core::int);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
||||||
|
|
|
@ -19,7 +19,7 @@ class C extends self::A implements self::I {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
||||||
return super.{self::A::m}(n as{ForLegacy} core::int);
|
return super.{self::A::m}(n as core::int);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
||||||
|
|
|
@ -19,7 +19,7 @@ class C extends self::A implements self::I {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
||||||
return super.{self::A::m}(n as{ForLegacy} core::int);
|
return super.{self::A::m}(n as core::int);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
||||||
|
|
|
@ -17,7 +17,7 @@ class C extends self::A implements self::I {
|
||||||
synthetic constructor •() → self::C
|
synthetic constructor •() → self::C
|
||||||
;
|
;
|
||||||
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
||||||
return super.{self::A::m}(n as{ForLegacy} core::int);
|
return super.{self::A::m}(n as core::int);
|
||||||
}
|
}
|
||||||
static method main() → void
|
static method main() → void
|
||||||
;
|
;
|
||||||
|
|
|
@ -19,7 +19,7 @@ class C extends self::A implements self::I {
|
||||||
: super self::A::•()
|
: super self::A::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
forwarding-stub method m(covariant-by-declaration core::num n) → void
|
||||||
return super.{self::A::m}(n as{ForLegacy} core::int);
|
return super.{self::A::m}(n as core::int);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
self::throws(() → void => (new self::C::•() as dynamic){dynamic}.m(1.1));
|
||||||
|
|
|
@ -29,7 +29,7 @@ class D extends self::C implements self::I {
|
||||||
: super self::C::•()
|
: super self::C::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
||||||
return super.{self::C::f}(a as{ForLegacy} self::B);
|
return super.{self::C::f}(a as self::B);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::I i = new self::D::•();
|
self::I i = new self::D::•();
|
||||||
|
|
|
@ -29,7 +29,7 @@ class D extends self::C implements self::I {
|
||||||
: super self::C::•()
|
: super self::C::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
||||||
return super.{self::C::f}(a as{ForLegacy} self::B);
|
return super.{self::C::f}(a as self::B);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::I i = new self::D::•();
|
self::I i = new self::D::•();
|
||||||
|
|
|
@ -29,7 +29,7 @@ class D extends self::C implements self::I {
|
||||||
: super self::C::•()
|
: super self::C::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
||||||
return super.{self::C::f}(a as{ForLegacy} self::B);
|
return super.{self::C::f}(a as self::B);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::I i = new self::D::•();
|
self::I i = new self::D::•();
|
||||||
|
|
|
@ -29,7 +29,7 @@ class D extends self::C implements self::I {
|
||||||
: super self::C::•()
|
: super self::C::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
||||||
return super.{self::C::f}(a as{ForLegacy} self::B);
|
return super.{self::C::f}(a as self::B);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::I i = new self::D::•();
|
self::I i = new self::D::•();
|
||||||
|
|
|
@ -25,7 +25,7 @@ class D extends self::C implements self::I {
|
||||||
synthetic constructor •() → self::D
|
synthetic constructor •() → self::D
|
||||||
;
|
;
|
||||||
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
||||||
return super.{self::C::f}(a as{ForLegacy} self::B);
|
return super.{self::C::f}(a as self::B);
|
||||||
}
|
}
|
||||||
static method main() → void
|
static method main() → void
|
||||||
;
|
;
|
||||||
|
|
|
@ -29,7 +29,7 @@ class D extends self::C implements self::I {
|
||||||
: super self::C::•()
|
: super self::C::•()
|
||||||
;
|
;
|
||||||
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
forwarding-stub method f(covariant-by-declaration self::A a) → void
|
||||||
return super.{self::C::f}(a as{ForLegacy} self::B);
|
return super.{self::C::f}(a as self::B);
|
||||||
}
|
}
|
||||||
static method main() → void {
|
static method main() → void {
|
||||||
self::I i = new self::D::•();
|
self::I i = new self::D::•();
|
||||||
|
|
|
@ -69,7 +69,7 @@ class H<T extends core::Object? = dynamic> extends self::G<self::H::T%> implemen
|
||||||
;
|
;
|
||||||
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
||||||
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
||||||
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as{ForLegacy} core::int, c);
|
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as core::int, c);
|
||||||
}
|
}
|
||||||
late static field core::List<core::Iterable<dynamic>> globalVar;
|
late static field core::List<core::Iterable<dynamic>> globalVar;
|
||||||
static method foo1(dynamic x) → dynamic {
|
static method foo1(dynamic x) → dynamic {
|
||||||
|
|
|
@ -69,7 +69,7 @@ class H<T extends core::Object? = dynamic> extends self::G<self::H::T%> implemen
|
||||||
;
|
;
|
||||||
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
||||||
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
||||||
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as{ForLegacy} core::int, c);
|
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as core::int, c);
|
||||||
}
|
}
|
||||||
late static field core::List<core::Iterable<dynamic>> globalVar;
|
late static field core::List<core::Iterable<dynamic>> globalVar;
|
||||||
static method foo1(dynamic x) → dynamic {
|
static method foo1(dynamic x) → dynamic {
|
||||||
|
|
|
@ -69,7 +69,7 @@ class H<T extends core::Object? = dynamic> extends self::G<self::H::T%> implemen
|
||||||
;
|
;
|
||||||
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
||||||
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
||||||
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as{ForLegacy} core::int, c);
|
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as core::int, c);
|
||||||
}
|
}
|
||||||
late static field core::List<core::Iterable<dynamic>> globalVar;
|
late static field core::List<core::Iterable<dynamic>> globalVar;
|
||||||
static method foo1(dynamic x) → dynamic {
|
static method foo1(dynamic x) → dynamic {
|
||||||
|
|
|
@ -69,7 +69,7 @@ class H<T extends core::Object? = dynamic> extends self::G<self::H::T%> implemen
|
||||||
;
|
;
|
||||||
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
||||||
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
||||||
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as{ForLegacy} core::int, c);
|
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as core::int, c);
|
||||||
}
|
}
|
||||||
late static field core::List<core::Iterable<dynamic>> globalVar;
|
late static field core::List<core::Iterable<dynamic>> globalVar;
|
||||||
static method foo1(dynamic x) → dynamic {
|
static method foo1(dynamic x) → dynamic {
|
||||||
|
|
|
@ -49,7 +49,7 @@ class H<T extends core::Object? = dynamic> extends self::G<self::H::T%> implemen
|
||||||
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void
|
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void
|
||||||
;
|
;
|
||||||
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
||||||
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as{ForLegacy} core::int, c);
|
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as core::int, c);
|
||||||
}
|
}
|
||||||
late static field core::List<core::Iterable<dynamic>> globalVar;
|
late static field core::List<core::Iterable<dynamic>> globalVar;
|
||||||
static method foo1(dynamic x) → dynamic
|
static method foo1(dynamic x) → dynamic
|
||||||
|
|
|
@ -69,7 +69,7 @@ class H<T extends core::Object? = dynamic> extends self::G<self::H::T%> implemen
|
||||||
;
|
;
|
||||||
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
method foo8<covariant-by-class Q extends self::H::T%>(self::H::foo8::Q% a, covariant-by-declaration core::int b, covariant-by-class self::H::T% c) → void {}
|
||||||
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
forwarding-stub method foo7<covariant-by-class Q extends self::H::T%>(self::H::foo7::Q% a, covariant-by-declaration core::num b, covariant-by-class self::H::T% c) → void
|
||||||
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as{ForLegacy} core::int, c);
|
return super.{self::G::foo7}<self::H::foo7::Q%>(a, b as core::int, c);
|
||||||
}
|
}
|
||||||
late static field core::List<core::Iterable<dynamic>> globalVar;
|
late static field core::List<core::Iterable<dynamic>> globalVar;
|
||||||
static method foo1(dynamic x) → dynamic {
|
static method foo1(dynamic x) → dynamic {
|
||||||
|
|
|
@ -23,7 +23,7 @@ library from "org-dartlang-test:///main.dart" as main {
|
||||||
export "org-dartlang-test:///lib1.dart" show x;
|
export "org-dartlang-test:///lib1.dart" show x;
|
||||||
export "org-dartlang-test:///lib2.dart" show x;
|
export "org-dartlang-test:///lib2.dart" show x;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
static method main() → dynamic {
|
static method main() → dynamic {
|
||||||
dart.core::print("exports");
|
dart.core::print("exports");
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ library from "org-dartlang-test:///main.dart" as main {
|
||||||
export "org-dartlang-test:///lib1.dart" show x;
|
export "org-dartlang-test:///lib1.dart" show x;
|
||||||
export "org-dartlang-test:///lib2.dart" show x;
|
export "org-dartlang-test:///lib2.dart" show x;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
static method main() → dynamic {
|
static method main() → dynamic {
|
||||||
dart.core::print("exports!");
|
dart.core::print("exports!");
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ additionalExports = (core::ArgumentError,
|
||||||
|
|
||||||
export "dart:core";
|
export "dart:core";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
static method method() → dynamic {
|
static method method() → dynamic {
|
||||||
dart.core::print("hello");
|
dart.core::print("hello");
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ additionalExports = (core::ArgumentError,
|
||||||
|
|
||||||
export "dart:core";
|
export "dart:core";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
static method method() → dynamic {
|
static method method() → dynamic {
|
||||||
dart.core::print("hello");
|
dart.core::print("hello");
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ library from "org-dartlang-test:///lib1.dart" as lib1 {
|
||||||
export "org-dartlang-test:///lib2.dart";
|
export "org-dartlang-test:///lib2.dart";
|
||||||
export "org-dartlang-test:///lib3.dart";
|
export "org-dartlang-test:///lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
}
|
}
|
||||||
library from "org-dartlang-test:///lib2.dart" as lib2 {
|
library from "org-dartlang-test:///lib2.dart" as lib2 {
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ library from "org-dartlang-test:///lib1.dart" as lib1 {
|
||||||
export "org-dartlang-test:///lib2.dart";
|
export "org-dartlang-test:///lib2.dart";
|
||||||
export "org-dartlang-test:///lib3.dart";
|
export "org-dartlang-test:///lib3.dart";
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
}
|
}
|
||||||
library from "org-dartlang-test:///lib2.dart" as lib2 {
|
library from "org-dartlang-test:///lib2.dart" as lib2 {
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ additionalExports = (wid::widgetFactory)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -10,7 +10,7 @@ additionalExports = (wid::widgetFactory)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -10,7 +10,7 @@ additionalExports = (wid::widgetFactory)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -10,7 +10,7 @@ additionalExports = (wid::widgetFactory)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -8,7 +8,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field dart.core::Object? key;
|
final field dart.core::Object? key;
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({dart.core::Object? key = #C1, wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({dart.core::Object? key = #C1, wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: fra::Widget::key = key, super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: fra::Widget::key = key, super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -8,7 +8,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field dart.core::Object? key;
|
final field dart.core::Object? key;
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({dart.core::Object? key = #C1, wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({dart.core::Object? key = #C1, wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: fra::Widget::key = key, super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: fra::Widget::key = key, super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -7,7 +7,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
abstract class Widget extends fra::Bar implements wid::_HasCreationLocation /*hasConstConstructor*/ {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
const constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super fra::Bar::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -27,7 +27,7 @@ library from "org-dartlang-test:///main.dart" as main {
|
||||||
export "org-dartlang-test:///lib1.dart" show x;
|
export "org-dartlang-test:///lib1.dart" show x;
|
||||||
export "org-dartlang-test:///lib2.dart" show x;
|
export "org-dartlang-test:///lib2.dart" show x;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
static method main() → dynamic {
|
static method main() → dynamic {
|
||||||
dart.core::print("exports");
|
dart.core::print("exports");
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ library from "org-dartlang-test:///main.dart" as main {
|
||||||
export "org-dartlang-test:///lib1.dart" show x;
|
export "org-dartlang-test:///lib1.dart" show x;
|
||||||
export "org-dartlang-test:///lib2.dart" show x;
|
export "org-dartlang-test:///lib2.dart" show x;
|
||||||
|
|
||||||
static const field dynamic _exports# = #C1 /*isLegacy*/;
|
static const field dynamic _exports# = #C1;
|
||||||
static method main() → dynamic {
|
static method main() → dynamic {
|
||||||
dart.core::print("exports!");
|
dart.core::print("exports!");
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
import "package:flutter/src/widgets/widget_inspector.dart";
|
import "package:flutter/src/widgets/widget_inspector.dart";
|
||||||
|
|
||||||
abstract class Widget extends dart.core::Object implements wid::_HasCreationLocation {
|
abstract class Widget extends dart.core::Object implements wid::_HasCreationLocation {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super dart.core::Object::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super dart.core::Object::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -4,7 +4,7 @@ library from "package:flutter/src/widgets/framework.dart" as fra {
|
||||||
import "package:flutter/src/widgets/widget_inspector.dart";
|
import "package:flutter/src/widgets/widget_inspector.dart";
|
||||||
|
|
||||||
abstract class Widget extends dart.core::Object implements wid::_HasCreationLocation {
|
abstract class Widget extends dart.core::Object implements wid::_HasCreationLocation {
|
||||||
final field wid::_Location? _location /*isLegacy*/;
|
final field wid::_Location? _location;
|
||||||
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
synthetic constructor •({wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → fra::Widget
|
||||||
: super dart.core::Object::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
: super dart.core::Object::•(), fra::Widget::_location = $creationLocationd_0dea112b090073317d4
|
||||||
;
|
;
|
||||||
|
|
|
@ -24,7 +24,7 @@ class C extends core::Object {
|
||||||
}
|
}
|
||||||
static method test(self::C c, core::num n) → void {
|
static method test(self::C c, core::num n) → void {
|
||||||
if(c.{self::C::_a}{self::A} is self::B) {
|
if(c.{self::C::_a}{self::A} is self::B) {
|
||||||
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{ForLegacy,Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ class C extends core::Object {
|
||||||
}
|
}
|
||||||
static method test(self::C c, core::num n) → void {
|
static method test(self::C c, core::num n) → void {
|
||||||
if(c.{self::C::_a}{self::A} is self::B) {
|
if(c.{self::C::_a}{self::A} is self::B) {
|
||||||
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{ForLegacy,Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ class C extends core::Object {
|
||||||
}
|
}
|
||||||
static method test(self::C c, core::num n) → void {
|
static method test(self::C c, core::num n) → void {
|
||||||
if(c.{self::C::_a}{self::A} is self::B) {
|
if(c.{self::C::_a}{self::A} is self::B) {
|
||||||
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{ForLegacy,Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ class C extends core::Object {
|
||||||
}
|
}
|
||||||
static method test(self::C c, core::num n) → void {
|
static method test(self::C c, core::num n) → void {
|
||||||
if(c.{self::C::_a}{self::A} is self::B) {
|
if(c.{self::C::_a}{self::A} is self::B) {
|
||||||
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{ForLegacy,Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ class C extends core::Object {
|
||||||
}
|
}
|
||||||
static method test(self::C c, core::num n) → void {
|
static method test(self::C c, core::num n) → void {
|
||||||
if(c.{self::C::_a}{self::A} is self::B) {
|
if(c.{self::C::_a}{self::A} is self::B) {
|
||||||
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{ForLegacy,Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
let final self::C #t1 = c in let final core::num #t2 = n in (#t1.{self::C::_a}{self::A} as{Unchecked} self::B).{self::B::call}(#t2){(core::num) → core::int};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ static method cascadedNullAwarePropertyAccess(self::C? c) → void {
|
||||||
static method cascadedInvocation(self::C c) → void {
|
static method cascadedInvocation(self::C c) → void {
|
||||||
c.{self::C::_field}{core::Object?} as () → core::int;
|
c.{self::C::_field}{core::Object?} as () → core::int;
|
||||||
let final self::C #t4 = c in block {
|
let final self::C #t4 = c in block {
|
||||||
(#t4.{self::C::_field}{core::Object?} as{ForLegacy,Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
(#t4.{self::C::_field}{core::Object?} as{Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
||||||
} =>#t4;
|
} =>#t4;
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ static method cascadedNullAwarePropertyAccess(self::C? c) → void {
|
||||||
static method cascadedInvocation(self::C c) → void {
|
static method cascadedInvocation(self::C c) → void {
|
||||||
c.{self::C::_field}{core::Object?} as () → core::int;
|
c.{self::C::_field}{core::Object?} as () → core::int;
|
||||||
let final self::C #t5 = c in block {
|
let final self::C #t5 = c in block {
|
||||||
(#t5.{self::C::_field}{core::Object?} as{ForLegacy,Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
(#t5.{self::C::_field}{core::Object?} as{Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
||||||
} =>#t5;
|
} =>#t5;
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ static method cascadedNullAwarePropertyAccess(self::C? c) → void {
|
||||||
static method cascadedInvocation(self::C c) → void {
|
static method cascadedInvocation(self::C c) → void {
|
||||||
c.{self::C::_field}{core::Object?} as () → core::int;
|
c.{self::C::_field}{core::Object?} as () → core::int;
|
||||||
let final self::C #t4 = c in block {
|
let final self::C #t4 = c in block {
|
||||||
(#t4.{self::C::_field}{core::Object?} as{ForLegacy,Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
(#t4.{self::C::_field}{core::Object?} as{Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
||||||
} =>#t4;
|
} =>#t4;
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ static method cascadedNullAwarePropertyAccess(self::C? c) → void {
|
||||||
static method cascadedInvocation(self::C c) → void {
|
static method cascadedInvocation(self::C c) → void {
|
||||||
c.{self::C::_field}{core::Object?} as () → core::int;
|
c.{self::C::_field}{core::Object?} as () → core::int;
|
||||||
let final self::C #t4 = c in block {
|
let final self::C #t4 = c in block {
|
||||||
(#t4.{self::C::_field}{core::Object?} as{ForLegacy,Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
(#t4.{self::C::_field}{core::Object?} as{Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
||||||
} =>#t4;
|
} =>#t4;
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
|
@ -24,7 +24,7 @@ static method cascadedNullAwarePropertyAccess(self::C? c) → void {
|
||||||
static method cascadedInvocation(self::C c) → void {
|
static method cascadedInvocation(self::C c) → void {
|
||||||
c.{self::C::_field}{core::Object?} as () → core::int;
|
c.{self::C::_field}{core::Object?} as () → core::int;
|
||||||
let final self::C #t4 = c in block {
|
let final self::C #t4 = c in block {
|
||||||
(#t4.{self::C::_field}{core::Object?} as{ForLegacy,Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
(#t4.{self::C::_field}{core::Object?} as{Unchecked} () → core::int)(){() → core::int}.{core::int::toString}(){() → core::String};
|
||||||
} =>#t4;
|
} =>#t4;
|
||||||
}
|
}
|
||||||
static method main() → dynamic {}
|
static method main() → dynamic {}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue