aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/lazyValsSepComp.scala
blob: 048231eb00c3736fc4211e364e3eeb7ec0945d7c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                               
                                   
 
package dotty.tools
package io

import java.io.{ InputStream }
import java.util.jar.JarEntry
import dotty.tools.dotc.core.Definitions
import language.postfixOps
import dotty.tools.dotc.core.Contexts._


/** A test to trigger issue with separate compilation between Dotty and Scalac and lazy vals */
object Foo {
  val definitions: Definitions = null
  def defn = definitions
  def go = defn.FunctionClassPerRun
}