mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[cfe] Coerce expressions in pattern assignment and declaration RHS
Closes https://github.com/dart-lang/sdk/issues/51738 Part of https://github.com/dart-lang/sdk/issues/49749 Change-Id: I4d496c303b1762c7234d66436daf125e69a34316 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/291068 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
This commit is contained in:
parent
cc9526fea8
commit
f27548aa5a
|
@ -9338,8 +9338,25 @@ class InferenceVisitorImpl extends InferenceVisitorBase
|
|||
@override
|
||||
ExpressionTypeAnalysisResult<DartType> dispatchExpression(
|
||||
Expression node, DartType context) {
|
||||
// Normally the CFE performs expression coercion in the process of type
|
||||
// inference of the nodes where an assignment is executed. The inference on
|
||||
// the pattern-related nodes is driven by the shared analysis, and two of
|
||||
// such nodes perform assignments. Here we determine if we're inferring the
|
||||
// expressions of one of such nodes, and perform the coercion if needed.
|
||||
TreeNode? parent = node.parent;
|
||||
bool needsCoercion =
|
||||
parent is PatternVariableDeclaration && parent.initializer == node ||
|
||||
parent is PatternAssignment && parent.expression == node;
|
||||
|
||||
ExpressionInferenceResult expressionResult =
|
||||
inferExpression(node, context).stopShorting();
|
||||
|
||||
if (needsCoercion) {
|
||||
expressionResult =
|
||||
coerceExpressionForAssignment(context, expressionResult) ??
|
||||
expressionResult;
|
||||
}
|
||||
|
||||
pushRewrite(expressionResult.expression);
|
||||
return new SimpleTypeAnalysisResult(type: expressionResult.inferredType);
|
||||
}
|
||||
|
|
|
@ -943,6 +943,7 @@ downside
|
|||
downward
|
||||
downwards
|
||||
drive
|
||||
driven
|
||||
driver
|
||||
drop
|
||||
dropped
|
||||
|
|
|
@ -75,7 +75,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
#definitelyAssignedLateFinal#set(20){(dynamic) → dynamic};
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:32:7: Error: Can't assign to the final variable '#initializedLateFinal'.
|
||||
|
@ -84,14 +84,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t6 = #definitelyUnassignedLateFinal#set(#1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int?){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
synthesized dynamic #2#3;
|
||||
synthesized core::bool #2#3#isSet = false;
|
||||
function #2#3#func() → dynamic
|
||||
|
|
|
@ -75,7 +75,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
#definitelyAssignedLateFinal#set(20){(dynamic) → dynamic};
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:32:7: Error: Can't assign to the final variable '#initializedLateFinal'.
|
||||
|
@ -84,14 +84,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t6 = #definitelyUnassignedLateFinal#set(#1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int?){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
synthesized dynamic #2#3;
|
||||
synthesized core::bool #2#3#isSet = false;
|
||||
function #2#3#func() → dynamic
|
||||
|
@ -119,4 +119,4 @@ constants {
|
|||
|
||||
Extra constant evaluation status:
|
||||
Evaluated: VariableGet @ org-dartlang-testcase:///pattern_assignment_final.dart:12:14 -> IntConstant(5)
|
||||
Extra constant evaluation: evaluated: 163, effectively constant: 1
|
||||
Extra constant evaluation: evaluated: 166, effectively constant: 1
|
||||
|
|
|
@ -90,7 +90,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
#definitelyAssignedLateFinal#set(20){(dynamic) → dynamic};
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:32:7: Error: Can't assign to the final variable '#initializedLateFinal'.
|
||||
|
@ -99,14 +99,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t3 = #definitelyUnassignedLateFinal#set(#1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int?){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
synthesized dynamic #2#3;
|
||||
synthesized core::bool #2#3#isSet = false;
|
||||
function #2#3#func() → dynamic
|
||||
|
|
|
@ -90,7 +90,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
#definitelyAssignedLateFinal#set(20){(dynamic) → dynamic};
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:32:7: Error: Can't assign to the final variable '#initializedLateFinal'.
|
||||
|
@ -99,14 +99,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t3 = #definitelyUnassignedLateFinal#set(#1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int?){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
synthesized dynamic #2#3;
|
||||
synthesized core::bool #2#3#isSet = false;
|
||||
function #2#3#func() → dynamic
|
||||
|
|
|
@ -90,7 +90,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
#definitelyAssignedLateFinal#set(20){(dynamic) → dynamic};
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:32:7: Error: Can't assign to the final variable '#initializedLateFinal'.
|
||||
|
@ -99,14 +99,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t3 = #definitelyUnassignedLateFinal#set(#1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int?){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/late_lowering/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
synthesized dynamic #2#3;
|
||||
synthesized core::bool #2#3#isSet = false;
|
||||
function #2#3#func() → dynamic
|
||||
|
|
|
@ -9,7 +9,7 @@ static method test1(dynamic x, dynamic another) → core::Iterable<dynamic> {
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t2 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t3 = n = #0#7{core::int} in true))))
|
||||
|
|
|
@ -9,7 +9,7 @@ static method test1(dynamic x, dynamic another) → core::Iterable<dynamic> {
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
|
|
@ -9,7 +9,7 @@ static method test1(dynamic x, dynamic another) → core::Iterable<dynamic> {
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t2 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t3 = n = #0#7{core::int} in true))))
|
||||
|
|
|
@ -9,7 +9,7 @@ static method test1(dynamic x, dynamic another) → core::Iterable<dynamic> {
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t2 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t3 = n = #0#7{core::int} in true))))
|
||||
|
|
|
@ -9,7 +9,7 @@ static method test1(dynamic x, dynamic another) → core::Iterable<dynamic> {
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method method() → dynamic {
|
||||
core::int v1 = 42;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = "The string!" as{ForNonNullableByDefault} dynamic;
|
||||
final synthesized dynamic #0#0 = ("The string!" as{ForNonNullableByDefault} dynamic) as{TypeError,ForDynamic,ForNonNullableByDefault} core::int;
|
||||
if(!(let final dynamic #t1 = v1 = #0#0 as{ForNonNullableByDefault} core::int in true))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method method() → dynamic {
|
||||
core::int v1 = 42;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = "The string!" as{ForNonNullableByDefault} dynamic;
|
||||
final synthesized dynamic #0#0 = ("The string!" as{ForNonNullableByDefault} dynamic) as{TypeError,ForDynamic,ForNonNullableByDefault} core::int;
|
||||
if(!(let final core::int #t1 = v1 = #0#0 as{ForNonNullableByDefault} core::int in true))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -29,4 +29,4 @@ static method throws(() → void f) → dynamic {
|
|||
|
||||
Extra constant evaluation status:
|
||||
Evaluated: AsExpression @ org-dartlang-testcase:///issue51432.dart:7:26 -> StringConstant("The string!")
|
||||
Extra constant evaluation: evaluated: 23, effectively constant: 1
|
||||
Extra constant evaluation: evaluated: 24, effectively constant: 1
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method method() → dynamic {
|
||||
core::int v1 = 42;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = "The string!" as{ForNonNullableByDefault} dynamic;
|
||||
final synthesized dynamic #0#0 = ("The string!" as{ForNonNullableByDefault} dynamic) as{TypeError,ForDynamic,ForNonNullableByDefault} core::int;
|
||||
if(!(let final dynamic #t1 = v1 = #0#0 as{ForNonNullableByDefault} core::int in true))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method method() → dynamic {
|
||||
core::int v1 = 42;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = "The string!" as{ForNonNullableByDefault} dynamic;
|
||||
final synthesized dynamic #0#0 = ("The string!" as{ForNonNullableByDefault} dynamic) as{TypeError,ForDynamic,ForNonNullableByDefault} core::int;
|
||||
if(!(let final dynamic #t1 = v1 = #0#0 as{ForNonNullableByDefault} core::int in true))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method method() → dynamic {
|
||||
core::int v1 = 42;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = "The string!" as{ForNonNullableByDefault} dynamic;
|
||||
final synthesized dynamic #0#0 = ("The string!" as{ForNonNullableByDefault} dynamic) as{TypeError,ForDynamic,ForNonNullableByDefault} core::int;
|
||||
if(!(let final core::int #t1 = v1 = #0#0 as{ForNonNullableByDefault} core::int in true))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -29,4 +29,4 @@ static method throws(() → void f) → dynamic {
|
|||
|
||||
Extra constant evaluation status:
|
||||
Evaluated: AsExpression @ org-dartlang-testcase:///issue51432.dart:7:26 -> StringConstant("The string!")
|
||||
Extra constant evaluation: evaluated: 23, effectively constant: 1
|
||||
Extra constant evaluation: evaluated: 24, effectively constant: 1
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C2){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C2){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C2){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C2){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C2){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C2){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C2){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C2){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C2){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C2){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
final dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::Map<dynamic, dynamic>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::Map<dynamic, dynamic> && #0#0{core::Map<dynamic, dynamic>}.{core::Map::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C2 && #0#0{core::Map<dynamic, dynamic>}.{core::Map::containsKey}(#C3){(core::Object?) → core::bool} && (let final dynamic #t1 = a = #0#0{core::Map<dynamic, dynamic>}.{core::Map::[]}(#C3){(core::Object?) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ static const field core::int annotation = #C1;
|
|||
static method f(dynamic x) → dynamic {
|
||||
dynamic a;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?)}.$1{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ class Class extends core::Object {
|
|||
static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
||||
dynamic a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, invalid-type, invalid-type);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:12:11: Error: Variable 'b' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
(a, int b, final int c) = x;
|
||||
|
@ -56,7 +56,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<invalid-type>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = a = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:13:13: Error: Variable 'd' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
[a, final d] = y;
|
||||
|
@ -64,7 +64,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
late final synthesized dynamic #2#3 = #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#9 = #2#3{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #2#16 = #2#3{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
|
|
|
@ -45,7 +45,7 @@ class Class extends core::Object {
|
|||
static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
||||
dynamic a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, invalid-type, invalid-type);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:12:11: Error: Variable 'b' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
(a, int b, final int c) = x;
|
||||
|
@ -56,7 +56,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<invalid-type>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = a = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:13:13: Error: Variable 'd' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
[a, final d] = y;
|
||||
|
@ -64,7 +64,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
function ##2#3#initializer() → dynamic
|
||||
return #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#3 = ##2#3#initializer(){() → dynamic};
|
||||
|
|
|
@ -45,7 +45,7 @@ class Class extends core::Object {
|
|||
static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
||||
dynamic a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, invalid-type, invalid-type);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:12:11: Error: Variable 'b' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
(a, int b, final int c) = x;
|
||||
|
@ -56,7 +56,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<invalid-type>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = a = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:13:13: Error: Variable 'd' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
[a, final d] = y;
|
||||
|
@ -64,7 +64,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
late final synthesized dynamic #2#3 = #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#9 = #2#3{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #2#16 = #2#3{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
|
|
|
@ -45,7 +45,7 @@ class Class extends core::Object {
|
|||
static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
||||
dynamic a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, invalid-type, invalid-type);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && (let final dynamic #t1 = a = #0#0{(core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:12:11: Error: Variable 'b' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
(a, int b, final int c) = x;
|
||||
|
@ -56,7 +56,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<invalid-type>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = a = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:13:13: Error: Variable 'd' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
[a, final d] = y;
|
||||
|
@ -64,7 +64,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
late final synthesized dynamic #2#3 = #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#9 = #2#3{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #2#16 = #2#3{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
|
|
|
@ -45,7 +45,7 @@ class Class extends core::Object {
|
|||
static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
||||
dynamic a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, invalid-type, invalid-type);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && (let final core::Object? #t1 = a = #0#0{(core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:12:11: Error: Variable 'b' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
(a, int b, final int c) = x;
|
||||
|
@ -56,7 +56,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<invalid-type>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = a = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_declares.dart:13:13: Error: Variable 'd' can't be declared in a pattern assignment.
|
||||
Try using a preexisting variable or changing the assignment to a pattern variable declaration.
|
||||
[a, final d] = y;
|
||||
|
@ -64,7 +64,7 @@ Try using a preexisting variable or changing the assignment to a pattern variabl
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
function ##2#3#initializer() → dynamic
|
||||
return #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#3 = ##2#3#initializer(){() → dynamic};
|
||||
|
|
|
@ -48,7 +48,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
definitelyAssignedLateFinal = 20;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:32:7: Error: Late final variable 'initializedLateFinal' definitely assigned.
|
||||
|
@ -57,14 +57,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = definitelyUnassignedLateFinal = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
late final synthesized dynamic #2#3 = #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#9 = #2#3{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #2#16 = #2#3{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
|
|
|
@ -48,7 +48,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
definitelyAssignedLateFinal = 20;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:32:7: Error: Late final variable 'initializedLateFinal' definitely assigned.
|
||||
|
@ -57,14 +57,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final core::int #t2 = definitelyUnassignedLateFinal = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
function ##2#3#initializer() → dynamic
|
||||
return #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#3 = ##2#3#initializer(){() → dynamic};
|
||||
|
|
|
@ -48,7 +48,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
definitelyAssignedLateFinal = 20;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:32:7: Error: Late final variable 'initializedLateFinal' definitely assigned.
|
||||
|
@ -57,14 +57,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = definitelyUnassignedLateFinal = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
late final synthesized dynamic #2#3 = #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#9 = #2#3{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #2#16 = #2#3{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
|
|
|
@ -48,7 +48,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
definitelyAssignedLateFinal = 20;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:32:7: Error: Late final variable 'initializedLateFinal' definitely assigned.
|
||||
|
@ -57,14 +57,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t2 = definitelyUnassignedLateFinal = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
late final synthesized dynamic #2#3 = #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#9 = #2#3{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #2#16 = #2#3{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
|
|
|
@ -48,7 +48,7 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
definitelyAssignedFinal = 10;
|
||||
definitelyAssignedLateFinal = 20;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (core::int, core::int, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:31:4: Error: Can't assign to the final variable 'initializedFinal'.
|
||||
(initializedFinal, // Error
|
||||
^^^^^^^^^^^^^^^^" && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:32:7: Error: Late final variable 'initializedLateFinal' definitely assigned.
|
||||
|
@ -57,14 +57,14 @@ static method method(dynamic x, dynamic y, dynamic z) → dynamic {
|
|||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = y;
|
||||
final synthesized dynamic #1#0 = y as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final core::int #t2 = definitelyUnassignedLateFinal = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true) && invalid-expression "pkg/front_end/testcases/patterns/pattern_assignment_final.dart:35:5: Error: Final variable 'definitelyAssignedFinal' might already be assigned at this point.
|
||||
definitelyAssignedFinal] = y; // Error
|
||||
^^^^^^^^^^^^^^^^^^^^^^^"))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
block {
|
||||
final synthesized dynamic #2#0 = z;
|
||||
final synthesized dynamic #2#0 = z as{TypeError,ForDynamic,ForNonNullableByDefault} self::Class;
|
||||
function ##2#3#initializer() → dynamic
|
||||
return #2#0{self::Class}.{self::Class::field2}{dynamic};
|
||||
late final synthesized dynamic #2#3 = ##2#3#initializer(){() → dynamic};
|
||||
|
|
|
@ -40,7 +40,7 @@ class Class extends self::Super {
|
|||
method method(dynamic o, dynamic parameter) → dynamic {
|
||||
dynamic local;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = o;
|
||||
final synthesized dynamic #0#0 = o as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?) && (let final dynamic #t1 = local = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t2 = parameter = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -40,7 +40,7 @@ class Class extends self::Super {
|
|||
method method(dynamic o, dynamic parameter) → dynamic {
|
||||
dynamic local;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = o;
|
||||
final synthesized dynamic #0#0 = o as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?) && (let final core::Object? #t1 = local = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t2 = parameter = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -40,7 +40,7 @@ class Class extends self::Super {
|
|||
method method(dynamic o, dynamic parameter) → dynamic {
|
||||
dynamic local;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = o;
|
||||
final synthesized dynamic #0#0 = o as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?) && (let final dynamic #t1 = local = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t2 = parameter = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -40,7 +40,7 @@ class Class extends self::Super {
|
|||
method method(dynamic o, dynamic parameter) → dynamic {
|
||||
dynamic local;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = o;
|
||||
final synthesized dynamic #0#0 = o as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?) && (let final dynamic #t1 = local = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t2 = parameter = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -40,7 +40,7 @@ class Class extends self::Super {
|
|||
method method(dynamic o, dynamic parameter) → dynamic {
|
||||
dynamic local;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = o;
|
||||
final synthesized dynamic #0#0 = o as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic, dynamic, dynamic, dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?) && (let final core::Object? #t1 = local = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t2 = parameter = #0#0{(core::Object?, core::Object?, core::Object?, core::Object?, core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
|
|
@ -9,7 +9,7 @@ static method f(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t2 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t3 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ static method g(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t7 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t8 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ static method h(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t12 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t13 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ static method f(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final core::Object? #t2 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t3 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ static method g(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final core::Object? #t7 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t8 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ static method h(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final core::Object? #t12 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t13 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ static method f(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t2 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t3 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ static method g(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t7 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t8 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ static method h(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t12 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t13 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ static method f(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t2 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t3 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ static method g(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t7 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t8 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ static method h(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final dynamic #t12 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final dynamic #t13 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ static method f(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final core::Object? #t2 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t3 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ static method g(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final core::Object? #t7 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t8 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ static method h(dynamic x) → void
|
|||
dynamic a;
|
||||
dynamic b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} (dynamic, dynamic);
|
||||
if(!(#0#0 is{ForNonNullableByDefault} (core::Object?, core::Object?) && (let final core::Object? #t12 = a = #0#0{(core::Object?, core::Object?)}.$1{core::Object?} in true) && (let final core::Object? #t13 = b = #0#0{(core::Object?, core::Object?)}.$2{core::Object?} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -16,12 +16,12 @@ static method test2(dynamic x) → dynamic {
|
|||
core::int b;
|
||||
core::int c;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #1#0 = ( block {
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && ((let final dynamic #t2 = a = #0#6 as{ForNonNullableByDefault} core::int in true) && (let final dynamic #t3 = b = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
} =>#0#0) as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (let final dynamic #t4 = c = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final core::int #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -16,14 +16,14 @@ static method test2(dynamic x) → dynamic {
|
|||
core::int b;
|
||||
core::int c;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #1#0 = ( block {
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && ((let final core::int #t2 = a = #0#6 as{ForNonNullableByDefault} core::int in true) && (let final core::int #t3 = b = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
} =>#0#0) as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (let final core::int #t4 = c = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -16,12 +16,12 @@ static method test2(dynamic x) → dynamic {
|
|||
core::int b;
|
||||
core::int c;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #1#0 = ( block {
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && ((let final dynamic #t2 = a = #0#6 as{ForNonNullableByDefault} core::int in true) && (let final dynamic #t3 = b = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
} =>#0#0) as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (let final dynamic #t4 = c = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final dynamic #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -16,12 +16,12 @@ static method test2(dynamic x) → dynamic {
|
|||
core::int b;
|
||||
core::int c;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #1#0 = ( block {
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && ((let final dynamic #t2 = a = #0#6 as{ForNonNullableByDefault} core::int in true) && (let final dynamic #t3 = b = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
} =>#0#0) as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (let final dynamic #t4 = c = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int a;
|
||||
block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (let final core::int #t1 = a = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
|
@ -16,14 +16,14 @@ static method test2(dynamic x) → dynamic {
|
|||
core::int b;
|
||||
core::int c;
|
||||
block {
|
||||
final synthesized dynamic #1#0 = block {
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #1#0 = ( block {
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && ((let final core::int #t2 = a = #0#6 as{ForNonNullableByDefault} core::int in true) && (let final core::int #t3 = b = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#0#0;
|
||||
} =>#0#0) as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (let final core::int #t4 = c = #1#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic} as{ForNonNullableByDefault} core::int in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
} =>#1#0;
|
||||
|
|
|
@ -8,7 +8,7 @@ static method test1(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t2 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t3 = n = #0#7{core::int} in true))))
|
||||
|
@ -26,7 +26,7 @@ static method test2(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t7 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t8 = n = #0#7{core::int} in true))))
|
||||
|
@ -45,7 +45,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i1;
|
||||
dynamic n1;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t12 = i1 = #0#6{core::int} in true)) && (let final dynamic #t13 = n1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
@ -56,7 +56,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i2;
|
||||
dynamic n2;
|
||||
{
|
||||
final synthesized dynamic #1#0 = x;
|
||||
final synthesized dynamic #1#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #1#8 = #1#0{core::List<dynamic>}.{core::List::[]}(2){(core::int) → dynamic};
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C2){(core::num) → core::bool} && (#1#8 is{ForNonNullableByDefault} core::int && (let final dynamic #t16 = i2 = #1#8{core::int} in true)) && (let final dynamic #t17 = n2 = #1#0{core::List<dynamic>}.{core::List::[]}(3){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
|
|
@ -8,7 +8,7 @@ static method test1(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -30,7 +30,7 @@ static method test2(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -53,7 +53,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i1;
|
||||
dynamic n1;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -66,7 +66,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i2;
|
||||
dynamic n2;
|
||||
{
|
||||
final synthesized dynamic #1#0 = x;
|
||||
final synthesized dynamic #1#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##1#8#initializer() → dynamic
|
||||
return #1#0{core::List<dynamic>}.{core::List::[]}(2){(core::int) → dynamic};
|
||||
late final synthesized dynamic #1#8 = ##1#8#initializer(){() → dynamic};
|
||||
|
@ -155,4 +155,4 @@ Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_
|
|||
Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_for_in_collections.dart:48:22 -> IntConstant(-1)
|
||||
Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_for_in_collections.dart:48:26 -> IntConstant(-2)
|
||||
Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_for_in_collections.dart:48:30 -> IntConstant(-2)
|
||||
Extra constant evaluation: evaluated: 304, effectively constant: 24
|
||||
Extra constant evaluation: evaluated: 308, effectively constant: 24
|
||||
|
|
|
@ -8,7 +8,7 @@ static method test1(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t2 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t3 = n = #0#7{core::int} in true))))
|
||||
|
@ -26,7 +26,7 @@ static method test2(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t7 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t8 = n = #0#7{core::int} in true))))
|
||||
|
@ -45,7 +45,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i1;
|
||||
dynamic n1;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t12 = i1 = #0#6{core::int} in true)) && (let final dynamic #t13 = n1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
@ -56,7 +56,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i2;
|
||||
dynamic n2;
|
||||
{
|
||||
final synthesized dynamic #1#0 = x;
|
||||
final synthesized dynamic #1#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #1#8 = #1#0{core::List<dynamic>}.{core::List::[]}(2){(core::int) → dynamic};
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C2){(core::num) → core::bool} && (#1#8 is{ForNonNullableByDefault} core::int && (let final dynamic #t16 = i2 = #1#8{core::int} in true)) && (let final dynamic #t17 = n2 = #1#0{core::List<dynamic>}.{core::List::[]}(3){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
|
|
@ -8,7 +8,7 @@ static method test1(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t2 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t3 = n = #0#7{core::int} in true))))
|
||||
|
@ -26,7 +26,7 @@ static method test2(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t7 = i = #0#6{core::int} in true)) && (#0#7 is{ForNonNullableByDefault} core::int && (let final dynamic #t8 = n = #0#7{core::int} in true))))
|
||||
|
@ -45,7 +45,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i1;
|
||||
dynamic n1;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C1){(core::num) → core::bool} && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t12 = i1 = #0#6{core::int} in true)) && (let final dynamic #t13 = n1 = #0#0{core::List<dynamic>}.{core::List::[]}(1){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
@ -56,7 +56,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i2;
|
||||
dynamic n2;
|
||||
{
|
||||
final synthesized dynamic #1#0 = x;
|
||||
final synthesized dynamic #1#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #1#8 = #1#0{core::List<dynamic>}.{core::List::[]}(2){(core::int) → dynamic};
|
||||
if(!(#1#0 is{ForNonNullableByDefault} core::List<dynamic> && #1#0{core::List<dynamic>}.{core::List::length}{core::int}.{core::num::>=}(#C2){(core::num) → core::bool} && (#1#8 is{ForNonNullableByDefault} core::int && (let final dynamic #t16 = i2 = #1#8{core::int} in true)) && (let final dynamic #t17 = n2 = #1#0{core::List<dynamic>}.{core::List::[]}(3){(core::int) → dynamic} in true)))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
|
|
@ -8,7 +8,7 @@ static method test1(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -30,7 +30,7 @@ static method test2(dynamic x) → dynamic
|
|||
core::int i;
|
||||
core::int n;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -53,7 +53,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i1;
|
||||
dynamic n1;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -66,7 +66,7 @@ static method test3(dynamic x, dynamic another) → dynamic
|
|||
core::int i2;
|
||||
dynamic n2;
|
||||
{
|
||||
final synthesized dynamic #1#0 = x;
|
||||
final synthesized dynamic #1#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##1#8#initializer() → dynamic
|
||||
return #1#0{core::List<dynamic>}.{core::List::[]}(2){(core::int) → dynamic};
|
||||
late final synthesized dynamic #1#8 = ##1#8#initializer(){() → dynamic};
|
||||
|
@ -155,4 +155,4 @@ Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_
|
|||
Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_for_in_collections.dart:48:22 -> IntConstant(-1)
|
||||
Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_for_in_collections.dart:48:26 -> IntConstant(-2)
|
||||
Evaluated: InstanceInvocation @ org-dartlang-testcase:///simple_c_style_pattern_for_in_collections.dart:48:30 -> IntConstant(-2)
|
||||
Extra constant evaluation: evaluated: 304, effectively constant: 24
|
||||
Extra constant evaluation: evaluated: 308, effectively constant: 24
|
||||
|
|
|
@ -6,7 +6,7 @@ static method test1(dynamic x) → dynamic {
|
|||
{
|
||||
core::int i;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t1 = i = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
|
|
@ -6,7 +6,7 @@ static method test1(dynamic x) → dynamic {
|
|||
{
|
||||
core::int i;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
|
|
@ -6,7 +6,7 @@ static method test1(dynamic x) → dynamic {
|
|||
{
|
||||
core::int i;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t1 = i = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
|
|
@ -6,7 +6,7 @@ static method test1(dynamic x) → dynamic {
|
|||
{
|
||||
core::int i;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t1 = i = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
|
|
@ -6,7 +6,7 @@ static method test1(dynamic x) → dynamic {
|
|||
{
|
||||
core::int i;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int y;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t1 = y = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
@ -16,7 +16,7 @@ static method test2(dynamic x) → dynamic {
|
|||
core::String a;
|
||||
core::String b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::String>;
|
||||
late final synthesized core::int #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int};
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(#0#2.{core::num::-}(1){(core::num) → core::int}){(core::int) → dynamic};
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int y;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
function ##0#6#initializer() → dynamic
|
||||
return #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#6 = ##0#6#initializer(){() → dynamic};
|
||||
|
@ -18,7 +18,7 @@ static method test2(dynamic x) → dynamic {
|
|||
core::String a;
|
||||
core::String b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::String>;
|
||||
function ##0#2#initializer() → core::int
|
||||
return #0#0{core::List<dynamic>}.{core::List::length}{core::int};
|
||||
late final synthesized core::int #0#2 = ##0#2#initializer(){() → core::int};
|
||||
|
|
|
@ -5,7 +5,7 @@ import "dart:core" as core;
|
|||
static method test1(dynamic x) → dynamic {
|
||||
core::int y;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::int>;
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
if(!(#0#0 is{ForNonNullableByDefault} core::List<dynamic> && #0#0{core::List<dynamic>}.{core::List::length}{core::int} =={core::num::==}{(core::Object) → core::bool} #C1 && (#0#6 is{ForNonNullableByDefault} core::int && (let final dynamic #t1 = y = #0#6{core::int} in true))))
|
||||
throw new core::StateError::•("Pattern matching error");
|
||||
|
@ -16,7 +16,7 @@ static method test2(dynamic x) → dynamic {
|
|||
core::String a;
|
||||
core::String b;
|
||||
{
|
||||
final synthesized dynamic #0#0 = x;
|
||||
final synthesized dynamic #0#0 = x as{TypeError,ForDynamic,ForNonNullableByDefault} core::List<core::String>;
|
||||
late final synthesized core::int #0#2 = #0#0{core::List<dynamic>}.{core::List::length}{core::int};
|
||||
late final synthesized dynamic #0#6 = #0#0{core::List<dynamic>}.{core::List::[]}(0){(core::int) → dynamic};
|
||||
late final synthesized dynamic #0#7 = #0#0{core::List<dynamic>}.{core::List::[]}(#0#2.{core::num::-}(1){(core::num) → core::int}){(core::int) → dynamic};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue