THRIFT-3477 Parser fails on enum item that starts with 'E' letter and continues with number
Client: Compiler (general)
Patch: Jens Geyer
diff --git a/test/EnumTest.thrift b/test/EnumTest.thrift
index 17af408..f38cec3 100644
--- a/test/EnumTest.thrift
+++ b/test/EnumTest.thrift
@@ -66,6 +66,11 @@
// represented with an i32.
}
+enum MyEnum5 {
+ e1 // fails with 0.9.3 and earlier
+ e2 = 42 // fails with 0.9.3 and earlier
+}
+
struct MyStruct {
1: MyEnum2 me2_2 = MyEnum1.ME2_2
2: MyEnum3 me3_n2 = MyEnum3.ME3_N2