THRIFT-897. compiler: Don't allow unqualified enum constant references

Missed a spot.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996326 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift
index c67fbcb..d4c8759 100644
--- a/test/DebugProtoTest.thrift
+++ b/test/DebugProtoTest.thrift
@@ -272,13 +272,13 @@
   TWO = 2
 }
 
-const SomeEnum MY_SOME_ENUM = ONE
+const SomeEnum MY_SOME_ENUM = SomeEnum.ONE
 
 const SomeEnum MY_SOME_ENUM_1 = 1
 /*const SomeEnum MY_SOME_ENUM_2 = 7*/
 
 const map<SomeEnum,SomeEnum> MY_ENUM_MAP = {
-  ONE : TWO
+  SomeEnum.ONE : SomeEnum.TWO
 }
 
 struct StructWithSomeEnum {
@@ -286,7 +286,7 @@
 }
 
 const map<SomeEnum,StructWithSomeEnum> EXTRA_CRAZY_MAP = {
-  ONE : {"blah" : TWO}
+  SomeEnum.ONE : {"blah" : SomeEnum.TWO}
 }
 
 union TestUnion {