Make 'package' and 'import' contextual keywords
Tagir Valeev
amaembo at gmail.com
Mon Nov 28 19:56:18 UTC 2022
Hello!
Recent discussion about contextual keywords emerged an opposite desire for
me. As we already have many contextual keywords, why not expand this to old
fullfledged keywords to return some names to the identifier namespace. I
can think of 'import' and 'package' which are meaningful as a keywords only
at top-level of Java file. Allowing variables with such names could be
desired in some programs and should not break much. At least, I
occasionally want to create variables with such names. What do you think?
Ok, it's just a crazy idea.
With best regards,
Tagir Valeev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-experts/attachments/20221128/c81e9576/attachment.htm>
More information about the amber-spec-experts
mailing list