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

Unified Diff: tests/language/issue_23914_test.dart

Issue 1256763004: Fix issue #23914: do not attempt to make an already immutable array immutable (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: test Created 5 years, 5 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 | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/issue_23914_test.dart
diff --git a/tests/language/regress_22666_test.dart b/tests/language/issue_23914_test.dart
similarity index 77%
copy from tests/language/regress_22666_test.dart
copy to tests/language/issue_23914_test.dart
index bd19d39a53a3cf2f94466b298256c0091e39be8f..072f912b74cff3b0bbde89667b3ba30ea84ac71d 100644
--- a/tests/language/regress_22666_test.dart
+++ b/tests/language/issue_23914_test.dart
@@ -4,6 +4,6 @@
import 'dart:collection';
-class A extends Object with LinkedListEntry<A> { }
-
-main() => new A();
+main() {
+ var a = new List.unmodifiable(new LinkedList());
+}
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698