Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3.0
-
None
Description
Generating Go code from storm.thrift fails with the following message:
[FAILURE:generation:1] Error: Cannot produce a valid type for a Go map key: []int64 - aborting.
The offending lines:
Golang does not allow slices to be used as a key for a map since they are not comparable using the equality operator. Otherwise the rest of it will generate just fine if those maps are commented out.
What is the significance of those maps?