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

Unified Diff: lib/protobuf_field.dart

Issue 25708003: Update the protocol buffer compiler plugin to use Int64 from the fixnum package (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 7 years, 2 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 | « lib/file_generator.dart ('k') | prepend.dart » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/protobuf_field.dart
diff --git a/lib/protobuf_field.dart b/lib/protobuf_field.dart
index 366724320aeae39618b0a6b8f63c313c193be108..20648c224ae58762f9538bc501f850d62c1814f7 100644
--- a/lib/protobuf_field.dart
+++ b/lib/protobuf_field.dart
@@ -194,8 +194,8 @@ class ProtobufField {
case FieldDescriptorProto_Type.TYPE_SINT64:
case FieldDescriptorProto_Type.TYPE_FIXED64:
case FieldDescriptorProto_Type.TYPE_SFIXED64:
- baseType = 'ByteData';
- typeString = write('ByteData');
+ baseType = 'Int64';
+ typeString = write('Int64');
packable = true;
switch (field.type) {
case FieldDescriptorProto_Type.TYPE_INT64:
« no previous file with comments | « lib/file_generator.dart ('k') | prepend.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698