Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated scala stubs don't compile when the thrift type contains field named 'runtime' #81

Closed
ahanwadi opened this issue Jun 15, 2013 · 1 comment

Comments

@ahanwadi
Copy link

cat src/main/thrift/runtimetest.thrift
struct runtimetest {
1: string runtime;
}

build/generated-sources/thrift/thrift/Runtimetest.scala:124: value ScalaRunTime is not a member of String
override def equals(other: Any): Boolean = runtime.ScalaRunTime._equals(this, other)
^
build/generated-sources/thrift/thrift/Runtimetest.scala:126: value ScalaRunTime is not a member of String
override def hashCode: Int = runtime.ScalaRunTime._hashCode(this)
^
build/generated-sources/thrift/thrift/Runtimetest.scala:128: value ScalaRunTime is not a member of String
override def toString: String = runtime.ScalaRunTime._toString(this)

@sprsquish
Copy link
Contributor

This has been pushed and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants