Index: runtime/vm/kernel_binary_flowgraph.cc |
diff --git a/runtime/vm/kernel_binary_flowgraph.cc b/runtime/vm/kernel_binary_flowgraph.cc |
index 34963a7c5612a0db50f1968d5ccb6d3e533dbc4c..5c8115e943c7ca284c947dca97b855626dc5b7a1 100644 |
--- a/runtime/vm/kernel_binary_flowgraph.cc |
+++ b/runtime/vm/kernel_binary_flowgraph.cc |
@@ -1097,6 +1097,11 @@ void StreamingScopeBuilder::VisitFunctionType(bool simple) { |
} |
builder_->SkipListOfStrings(); // read positional parameter names. |
+ |
+ if (!simple) { |
+ builder_->SkipCanonicalNameReference(); // read typedef reference. |
+ } |
+ |
VisitDartType(); // read return type. |
} |
@@ -1574,6 +1579,10 @@ void StreamingDartTypeTranslator::BuildFunctionType(bool simple) { |
builder_->SkipListOfStrings(); // read positional parameter names. |
+ if (!simple) { |
+ builder_->SkipCanonicalNameReference(); // read typedef reference. |
+ } |
+ |
BuildTypeInternal(); // read return type. |
if (result_.IsMalformed()) { |
result_ = AbstractType::dynamic_type().raw(); |
@@ -3812,6 +3821,11 @@ void StreamingFlowGraphBuilder::SkipFunctionType(bool simple) { |
} |
SkipListOfStrings(); // read positional parameter names. |
+ |
+ if (!simple) { |
+ SkipCanonicalNameReference(); // read typedef reference. |
+ } |
+ |
SkipDartType(); // read return type. |
} |