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

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

Issue 397453004: Mojo: Correctly handle large unsigned integer literals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ULL 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 4ebc558e868c44d4b585cbc0909317b508fc438c..907f18f973b2bdb9213c8ca7cd4255cec777b225 100644
--- a/mojo/public/interfaces/bindings/tests/sample_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_service.mojom
@@ -9,6 +9,7 @@ import "sample_import2.mojom"
module sample {
const uint8 kTwelve = 12;
+const uint64 kTooBigForSignedInt64 = 9999999999999999999;
struct Bar {
enum Type {
@@ -49,11 +50,9 @@ struct DefaultsTest {
int16 a2@2 = 1234;
uint16 a3@3 = 34567;
int32 a4@4 = 123456;
- // TODO(vtl): crbug.com/375522
- uint32 a5@5 /* = 3456789012 */;
+ uint32 a5@5 = 3456789012;
int64 a6@6 = 111111111111;
- // TODO(vtl): crbug.com/375522
- uint64 a7@7 /* = 9999999999999999999 */;
+ uint64 a7@7 = 9999999999999999999;
int32 a8@8 = 0x12345;
int32 a9@9 = -0x12345;
int32 a10@10 = +1234;

Powered by Google App Engine
This is Rietveld 408576698