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

Unified Diff: test/codegen/cascade.dart

Issue 1056183003: use VariableElement instead of VariableElementImpl in _isStateless (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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: test/codegen/cascade.dart
diff --git a/test/codegen/cascade.dart b/test/codegen/cascade.dart
index 7cdd3958a4891d5a00f93d2af6df76d7ce5af6b5..f0b310863819fcf96e31b232c3d074a7a9af70bc 100644
--- a/test/codegen/cascade.dart
+++ b/test/codegen/cascade.dart
@@ -68,3 +68,13 @@ void test_VariableDeclaration_first() {
b = 2;
print(a);
}
+
+class Base<T> {
+ final List<T> x = <T>[];
+}
+
+class Foo extends Base<int> {
+ void test_final_field_generic(t) {
+ x..add(1)..add(2)..add(3)..add(4);
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698