| commit | dd9ca04488eba9ebd9ea067cad8a73cb18fa709a | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Mon Aug 29 16:07:16 2011 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Mon Aug 29 16:07:16 2011 +1000 |
| tree | 64e10a5d9daa1a8e9f705e60b62244f91a0c1aff | |
| parent | 7655121814665122dfefa3e5d58b66394b9ad64c [diff] [blame] |
goprotobuf: Explicitly type the generated enum constants. R=r CC=golang-dev http://codereview.appspot.com/4952045
diff --git a/proto/all_test.go b/proto/all_test.go index dd7f66e..256ab4c 100644 --- a/proto/all_test.go +++ b/proto/all_test.go
@@ -112,7 +112,7 @@ pb.F_Sint64Defaulted = Int64(Default_GoTest_F_Sint64Defaulted) } - pb.Kind = Int32(GoTest_TIME) + pb.Kind = NewGoTest_KIND(GoTest_TIME) pb.RequiredField = initGoTestField() pb.F_BoolRequired = Bool(true) pb.F_Int32Required = Int32(3)