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

Unified Diff: tests/language/regress_20394_test.dart

Issue 455393003: Do not add forwarding constructors to a pricate constructor from a different library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 6 years, 4 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 | « tests/language/regress_20394_lib.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/regress_20394_test.dart
diff --git a/tests/language/regress_20394_test.dart b/tests/language/regress_20394_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..67a65f7683c7fb46d50e4735808963a21f5f4fc2
--- /dev/null
+++ b/tests/language/regress_20394_test.dart
@@ -0,0 +1,11 @@
+import 'regress_20394_lib.dart';
+
+class M {}
+
+class C extends Super with M {
+ C() : super._private(42); /// 01: compile-time error
+}
+
+main() {
+ new C();
+}
« no previous file with comments | « tests/language/regress_20394_lib.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698