Autoproxy-Lite icon indicating copy to clipboard operation
Autoproxy-Lite copied to clipboard

compilation error with lazy vals

Open jestan opened this issue 13 years ago • 2 comments

I have a trait with lazy val and, when I try to write a proxy, getting this error .... java.lang.Error: no-symbol does not have owner

trait Demo { def id = 0 lazy val lastShowTime = System.currentTimeMillis() }

class DemoProxy(@proxy instance: Demo) extends Demo

jestan avatar Jan 24 '12 13:01 jestan

Okay, I'll take a look. lazy vals would be a good addition to the test suite :)

kevinwright avatar Jan 24 '12 13:01 kevinwright

Thanks :)

jestan avatar Jan 24 '12 13:01 jestan