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

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

Issue 1943643002: Go bindings: Change generated enum value constants to be typed as the enum type. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 | « mojo/go/tests/enums_test.go ('k') | mojo/public/tools/bindings/generators/go_templates/enum.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/bindings/tests/test_enums.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_enums.mojom b/mojo/public/interfaces/bindings/tests/test_enums.mojom
index 0c009f869b0d9a5a5e4cd33135532042affca4f6..f3c09972b0b09afa7fec9c9bf9c36c4ebb612d69 100644
--- a/mojo/public/interfaces/bindings/tests/test_enums.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_enums.mojom
@@ -7,3 +7,10 @@ enum TestEnum {
FOO = 2,
BAR = 3,
};
+
+enum TestEnum2 {
+ TEST,
+ V = 1,
+ FOO = 2,
+ BAR = 3,
+};
« no previous file with comments | « mojo/go/tests/enums_test.go ('k') | mojo/public/tools/bindings/generators/go_templates/enum.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698