Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: pkg/analyzer/lib/src/summary/resynthesize.dart

Issue 2015183003: Create ExecutableElementImpl.type lazily. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/summary/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index 431ab144f112d3ae96a6f2ee85fd7e4c577d8085..92938b51ce2dbe15405d35d584699130149adb0d 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -2099,8 +2099,6 @@ class _UnitResynthesizer {
executableElement.parameters = parameters;
}
}
- executableElement.type = new FunctionTypeImpl.elementWithNameAndArgs(
- executableElement, null, getCurrentTypeArguments(skipLevels: 1), false);
{
List<UnlinkedExecutable> unlinkedFunctions =
serializedExecutable.localFunctions;

Powered by Google App Engine
This is Rietveld 408576698