You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to 0.3.0 I'm getting this exception when running the compiler:
java.lang.UnsupportedOperationException: cannot unbox java.lang.String
at com.squareup.javapoet.TypeName.unbox(TypeName.java:160)
at com.microsoft.thrifty.gen.ThriftyCodeGenerator.buildConst(ThriftyCodeGenerator.java:926)
at com.microsoft.thrifty.gen.ThriftyCodeGenerator.generateTypes(ThriftyCodeGenerator.java:231)
at com.microsoft.thrifty.gen.ThriftyCodeGenerator.generate(ThriftyCodeGenerator.java:262)
at com.microsoft.thrifty.gen.ThriftyCodeGenerator.generate(ThriftyCodeGenerator.java:167)
at com.microsoft.thrifty.compiler.ThriftyCompiler.compile(ThriftyCompiler.java:217)
at com.microsoft.thrifty.compiler.ThriftyCompiler.main(ThriftyCompiler.java:96)
This thrift file reproduces the issue
namespace java com.example.test
const string TEST = "test";
The text was updated successfully, but these errors were encountered:
After upgrading to 0.3.0 I'm getting this exception when running the compiler:
This thrift file reproduces the issue
The text was updated successfully, but these errors were encountered: