Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
It would be nice if the compiler would warn or fail when a reserved word is used as a struct name, service name or field name. The following names should be avoided:
_FILE_
and
def
end
in
or
self
unless
_LINE_
begin
defined?
ensure
module
redo
super
until
BEGIN
break
do
false
next
rescue
then
when
END
case
else
for
nil
retry
true
while
alias
class
elsif
if
not
return
undef
yield
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-609 generator allows for fields that break code
- Closed