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

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

Issue 396063006: Mojo: Always suffix int literals with L in generated Java bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -1L Created 6 years, 5 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/sample_service.mojom
diff --git a/mojo/public/interfaces/bindings/tests/sample_service.mojom b/mojo/public/interfaces/bindings/tests/sample_service.mojom
index b4ba37032c1682aedd5cc0f2a9bb5cae4a2dfce1..93a2ec423283af4bcf8002311e026b1c5a56a8bf 100644
--- a/mojo/public/interfaces/bindings/tests/sample_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_service.mojom
@@ -51,7 +51,7 @@ struct DefaultsTest {
uint16 a3@3 = 34567;
int32 a4@4 = 123456;
uint32 a5@5 = 3456789012;
- int64 a6@6 = 111111111111;
+ int64 a6@6 = -111111111111;
uint64 a7@7 = 9999999999999999999;
int32 a8@8 = 0x12345;
int32 a9@9 = -0x12345;
@@ -72,6 +72,10 @@ struct DefaultsTest {
Bar.Type a20@20 = BOTH;
imported.Point a21@21;
imported.Thing a22@22 = default;
+
+ uint64 a23@23 = 0xFFFFFFFFFFFFFFFF;
+ int64 a24@24 = 0x123456789;
+ int64 a25@25 = -0x123456789;
};
struct StructWithHoleV1 {

Powered by Google App Engine
This is Rietveld 408576698