wiln / protoc-gen-as3

Automatically exported from code.google.com/p/protoc-gen-as3
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

conflict of 'tag' variable within readFromSlice() #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a proto with a field called 'tag' and type string
2. run protoc 
3. try to compile the code 

What is the expected output? What do you see instead?
Should compile, instead complains that tag is a string and cannot assign int to 
string (local variable tag conflicts with class variable 'tag' from the proto)

What version of the product are you using? On what operating system?
0.9.1 - but i see the code is unchanged in 1.0 RC.

Please provide any additional information below.
Please simply rename the local variable in the readFromSlice() method to 
something unique to prevent these conflicts. 

Original issue reported on code.google.com by justinjm...@gmail.com on 25 Aug 2011 at 2:36

GoogleCodeExporter commented 8 years ago
Fixed at 1.0.0-rc5

Original comment by pop.atry@gmail.com on 30 Aug 2011 at 1:07