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

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: Update from code review. 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..694840c1e9b4bc6e84ffe3322b2c6a739862f2ed
--- /dev/null
+++ b/lib/testing/mixins.dart
@@ -0,0 +1,15 @@
+abstract class Mixin1 {
+ String get overriddenString => "mixin1";
+
+ String get interfaceString;
+ set interfaceString(String string);
+ bool hasInterfaceString();
+}
+
+abstract class Mixin2 {
+ String get overriddenString => "mixin2";
+
+ bool hasOverriddenHasMethod() => false;
+}
+
+abstract class Mixin3 {}

Powered by Google App Engine
This is Rietveld 408576698