Skip to content

Whitelisting scala.Function1 fails to compile in partest. #1818

Closed
@nicolasstucki

Description

@nicolasstucki

When running partest with Function1 whitlisted the following error is reported:

-- Error: /Users/nicolas.stucki/GitHub/dotty/tests/partest-generated/pos/compileStdLib/Function1.scala -----------------
35 |trait Function1[@specialized(scala.Int, scala.Long, scala.Float, scala.Double) -T1, @specialized(scala.Unit, scala.Boolean, scala.Int, scala.Float, scala.Long, scala.Double) +R] extends AnyRef { self =>
   |                ^^^^^^^^^^^^
   |                cyclic reference involving constructor specialized

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions