Skip to content

compilation error with lazy vals #2

@jestan

Description

@jestan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions