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















                                                                                               
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.FunctionClass(0)
}