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

Unified Diff: pkg/analyzer/test/src/summary/linker_test.dart

Issue 1951173005: Add typedef support to summary linker. (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
« no previous file with comments | « pkg/analyzer/lib/src/summary/link.dart ('k') | pkg/analyzer/test/src/task/strong/inferred_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/linker_test.dart
diff --git a/pkg/analyzer/test/src/summary/linker_test.dart b/pkg/analyzer/test/src/summary/linker_test.dart
index ef33f950ea6c1669ba092fcb3f82db9a4ce566b1..becb90d96d70c49d89dade76ec61d60debd64cd1 100644
--- a/pkg/analyzer/test/src/summary/linker_test.dart
+++ b/pkg/analyzer/test/src/summary/linker_test.dart
@@ -587,14 +587,14 @@ class D extends C {
void test_parameterParentElementForLink_innermostExecutable() {
createLinker('void f(void g(void h())) {}');
TopLevelFunctionElementForLink f = testLibrary.getContainedName('f');
- expect(f.innermostExecutable, same(f));
+ expect(f.typeParameterContext, same(f));
ParameterElementForLink g = f.parameters[0];
FunctionType gType = g.type;
FunctionElementForLink_FunctionTypedParam gTypeElement = gType.element;
- expect(gTypeElement.innermostExecutable, same(f));
+ expect(gTypeElement.typeParameterContext, same(f));
ParameterElementForLink h = gTypeElement.parameters[0];
FunctionType hType = h.type;
FunctionElementForLink_FunctionTypedParam hTypeElement = hType.element;
- expect(hTypeElement.innermostExecutable, same(f));
+ expect(hTypeElement.typeParameterContext, same(f));
}
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/link.dart ('k') | pkg/analyzer/test/src/task/strong/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698