-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: 0.9.2
-
Component/s: Compiler (General)
-
Labels:
Hi all,
Recently I noticed that the Thrift grammar allows for identifiers that are illegal in most (if not all) supported languages, like:
enum Additional.Requirement {
Speak.My.Language = 0,
}
typedef list< Additional.Requirement> Even.Further.Requirements
struct Place.Order {
3 : optional Even.Further.Requirements My.Further.Requirements
}
and so on.
The compiler generates code from that without a single complaining. Of course, the generated code does not compile.
Before I submit a patch to address this, I'd like to know
a) Is there any (supported) language where such a construct would be legal and expected?
b) Anyone around here that knows whys the grammar allows this? By intention or simply a bug?
Thanks,
Jens
- duplicates
-
THRIFT-667 Period should not be allowed in identifier names
-
- Closed
-