Skip to content

Lazy vals aren't forced, which is good, but their value isn't printed if they are evaluated #60

@dotta

Description

@dotta

It would be nice if after evaluation the evaluation of a is updated to the computed value, i.e., 2

object f {
  lazy val a = 2                              //> a : Int = <lazy>

  a + 2                                           //> res0: Int = 4
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions