scalajs-tfjs icon indicating copy to clipboard operation
scalajs-tfjs copied to clipboard

scalajs 1.x doesnt support ptivate memebrs in native traits

Open chandu0101 opened this issue 7 years ago • 2 comments

chandu0101 avatar Jun 11 '18 13:06 chandu0101

Thanks! I really should start compiling against scalajs 1.0. I'm leaving this open for now because I'm still trying different options how to achieve something similar to selective TS exports of methods. Making methods private seems to be the wrong approach, though.

I'm wondering if the same restrictions apply to protected and package private methods. Do you know if this documented somewhere?

sbrunk avatar Jun 13 '18 19:06 sbrunk

protected methods compiling fine in 1.x .

chandu0101 avatar Jun 14 '18 02:06 chandu0101