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

Unified Diff: mojo/public/interfaces/bindings/tests/regression_tests.mojom

Issue 622593002: mojo: Allow circular dependencies between structs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: mojo/public/interfaces/bindings/tests/regression_tests.mojom
diff --git a/mojo/public/interfaces/bindings/tests/regression_tests.mojom b/mojo/public/interfaces/bindings/tests/regression_tests.mojom
index 49ab69abdcd369f60c00d9f3473aa59dd32a773a..c81009cafee4fd610d9ad4572ec80e679c4f3af0 100644
--- a/mojo/public/interfaces/bindings/tests/regression_tests.mojom
+++ b/mojo/public/interfaces/bindings/tests/regression_tests.mojom
@@ -34,4 +34,23 @@ enum EnumWithK {
K = 0
};
+struct Node {
+ Vertice? v;
viettrungluu 2014/10/01 17:18:23 nit: Vertice -> Vertex
qsr 2014/10/06 08:20:26 Done.
+};
+
+struct Vertice {
viettrungluu 2014/10/01 17:18:23 "
qsr 2014/10/06 08:20:26 Done.
+ EmptyStruct? e;
+};
+
+struct EmptyStruct {
+};
+
+struct A {
+ B? b;
+};
+
+struct B {
+ A? a;
+};
+
} // module imported

Powered by Google App Engine
This is Rietveld 408576698