THRIFT-2102 constants are not referencing to correct type when included from another thrift file
Patch: Remo Hertig
diff --git a/lib/go/test/IncludesTest.thrift b/lib/go/test/IncludesTest.thrift
index 4416c09..6b68806 100644
--- a/lib/go/test/IncludesTest.thrift
+++ b/lib/go/test/IncludesTest.thrift
@@ -19,6 +19,9 @@
include "ThriftTest.thrift"
+const ThriftTest.UserId USERID = 42
+const ThriftTest.MapType MAPCONSTANT = {'hello':{}, 'goodnight':{}}
+
struct testStruct {
1: list<ThriftTest.Numberz> listNumbers
}