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

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

Issue 2849893002: Set 'enclosingElement' for FunctionElementImpl_forLUB. (Closed)
Patch Set: Created 3 years, 8 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/test/src/summary/resynthesize_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index e45e9bab08100793b5f26da86a3b4f2ad115572a..879fbe8297d9943b931bb94206001cb5d83c9027 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -9609,6 +9609,9 @@ class B extends A {
}
void test_inferredType_usesSyntheticFunctionType_functionTypedParam() {
+ // AnalysisContext does not set the enclosing element for the synthetic
+ // FunctionElement created for the [f, g] type argument.
+ shouldCompareLibraryElements = false;
var library = checkLibrary('''
int f(int x(String y)) => null;
String g(int x(String y)) => null;
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | pkg/analyzer/test/src/task/strong/front_end_inference_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698