| Index: pkg/analyzer/lib/src/summary/link.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
|
| index 0587df1322e7bb2621550c509412fd6c96ea3054..87bbebc6cea1a915e530ca96cb0514b4929a0bdc 100644
|
| --- a/pkg/analyzer/lib/src/summary/link.dart
|
| +++ b/pkg/analyzer/lib/src/summary/link.dart
|
| @@ -1980,6 +1980,10 @@ class ExprTypeComputer {
|
| // return type. Assume `dynamic`.
|
| return DynamicTypeImpl.instance;
|
| }
|
| + // If no operations, we cannot compute the type. Assume `dynamic`.
|
| + if (unlinkedConst.operations.isEmpty) {
|
| + return DynamicTypeImpl.instance;
|
| + }
|
| // Perform RPN evaluation of the constant, using a stack of inferred types.
|
| for (UnlinkedExprOperation operation in unlinkedConst.operations) {
|
| switch (operation) {
|
|
|