summaryrefslogtreecommitdiff
path: root/test/files/run/idempotency-lazy-vals.check
blob: 3a6f1a7ef0fa755e202622696970004310d08abb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
6
{
  class C extends AnyRef {
    def <init>(): C = {
      C.super.<init>();
      ()
    };
    <stable> <accessor> lazy val x: Int = 2;
    implicit <stable> <accessor> lazy val y: Int = 3
  };
  val c: C = new C();
  import c._;
  c.x.*(Predef.implicitly[Int](c.y))
}
6