Skip to content

support dependent argument types for constructor parameter lists (in the same way as for methods)  #5712

Open
@scabug

Description

@scabug
scala> import scala.tools.nsc._
import scala.tools.nsc._

scala> def mkReifier(global: Global)(typer: global.analyzer.Typer) = typer
mkReifier: (global: scala.tools.nsc.Global)(typer: global.analyzer.Typer)global.analyzer.Typer

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions