summaryrefslogtreecommitdiff
path: root/test/NameConflictTest.thrift
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2014-08-07 06:32:37 -0700
committerRoger Meier <roger@apache.org>2014-08-07 17:40:22 +0200
commitca44a622dfd0d01f1b0d00d26b9208eb69995176 (patch)
tree0a0d878c3c344653fbd395f433bf8bf1c885e3ba /test/NameConflictTest.thrift
parentd52edba00fe1b1a5f8df3cfbfb1244dca7b1a0a4 (diff)
downloadthrift-ca44a622dfd0d01f1b0d00d26b9208eb69995176.tar.gz
THRIFT-2651: struct names that are restricted erlang terms generate invalid type signatures
patch: alisdairsullivan@yahoo.ca client: erlang fixes error exposed in THRIFT-2647 by avoiding using restricted identifiers in erlang type signatures generated by the compiler
Diffstat (limited to 'test/NameConflictTest.thrift')
-rw-r--r--test/NameConflictTest.thrift4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/NameConflictTest.thrift b/test/NameConflictTest.thrift
index ad333eb47..4960f5480 100644
--- a/test/NameConflictTest.thrift
+++ b/test/NameConflictTest.thrift
@@ -41,6 +41,10 @@ struct of {
2: string where
}
+struct ofOf {
+ 1: of Of
+}
+
struct ClassAndProp {
1: bool ClassAndProp