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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart

Issue 2847213002: Synthetic function elements don't have a name or enclosing element/library. (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/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart b/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
index c18ad4f6840581865aeab85dd37a988d14d5109f..9f25a5aa79b62758a0aa04e3935b3d2ae51eee68 100644
--- a/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
@@ -11,7 +11,7 @@ typedef List<int> G(double x);
T generic<T>(a(T _), b(T _)) => null;
main() {
- var /*@type=<unknown>::(num x) → List<int>*/ v = generic(
+ var /*@type=(num x) → List<int>*/ v = generic(
/*@returnType=dynamic*/ (F f) => null,
/*@returnType=dynamic*/ (G g) => null);
}

Powered by Google App Engine
This is Rietveld 408576698