Skip to content

Commit 9cd737d

Browse files
Fix bootstrap
Apparently Dotty and scalac do not handle this private in the say way...
1 parent f627ae0 commit 9cd737d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4675,7 +4675,7 @@ object Types {
46754675

46764676
// ----- UnapplyPath ----------------------------
46774677

4678-
final case class UnapplyPath private (path: Type) extends UncachedGroundType with typer.ProtoTypes.MatchAlways {
4678+
final case class UnapplyPath(path: Type) extends UncachedGroundType with typer.ProtoTypes.MatchAlways {
46794679
override def fold[T](x: T, ta: TypeAccumulator[T])(implicit ctx: Context): T = ta(x, path)
46804680
override def map(tm: TypeMap)(implicit ctx: Context): ProtoType = this
46814681
}

0 commit comments

Comments
 (0)