summaryrefslogtreecommitdiff
path: root/test/pending/pos/t5712.scala
blob: 31f365028a83b96475525e9c4b185157d8d7e781 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import scala.tools.nsc._

object Test {

  // works
  def mkReifier(global: Global)(typer: global.analyzer.Typer) = typer

/*
<console>:10: error: not found: value global
      class Reifier(global: Global)(typer: global.analyzer.Typer) { }
*/
  class Reifier(global: Global)(typer: global.analyzer.Typer) { }

}