Nikolay Mihaylov wrote:
There is one caveat to this solution. Currently, the attributes are not
dumped in the classfile. So if you use such variable from Scala code
with separate compilation the compiler will generate calls to the
getter/setter methods according to the Scala convention. If you compile
them together there should be no problem.
I thought the set/get methods would simply forward to Scala's native
setter and getter? In that case what difference does it make which
method is called?
-- Martin