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

Unified Diff: lib/testing/mixins.dart

Issue 2086253002: Allow application of external mixins to generated dart protos. (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Add support for mixins in protos. Created 4 years, 6 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: lib/testing/mixins.dart
diff --git a/lib/testing/mixins.dart b/lib/testing/mixins.dart
new file mode 100644
index 0000000000000000000000000000000000000000..2fa2fdc698cc7eb0619562cccab022d34c2f83f8
--- /dev/null
+++ b/lib/testing/mixins.dart
@@ -0,0 +1,13 @@
+abstract class Mixin1 {
skybrian 2016/06/22 20:29:52 Can we put this file under "test" instead of in "l
frederikmutzel 2016/06/23 12:30:16 I'd really prefer to use a package import here. Re
+ String get overriddenString => "mixin1";
+
+ String get interfaceString;
+ set interfaceString(String string);
+ bool hasInterfaceString();
+}
+
+abstract class Mixin2 {
+ String get overriddenString => "mixin2";
+
+ bool hasOverriddenHasMethod() => false;
+}

Powered by Google App Engine
This is Rietveld 408576698