Re: Dynamic vs. static variable namespace clash
"Konstantin L. Metlov" <[email protected]> Wed, 25 Oct 2017 19:21:27 +0300
| Newsgroups | gmane.comp.java.jel.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Mark !
I've implemented and committed the feature you requested. You can see it
here http://svn.savannah.gnu.org/viewvc/jel/trunk/ or you can check it out
and build the updated library yourself with "ant dist-test". The change
(if you are interested) boils down to adding a single condition to an
already existing test.
Now, having a formal parameter list after a name instead of generating an
error aborts the dynamic variable match, which implies the resolution of
the name in the static/dynamic library. In case of no formal parameters
the DV would overshadow the variables from static/dynamic library as
intended and documented.
Thank you for an excellent suggestion !
With the best regards,
Konstantin.