Skip to content

Commit 77d2d0c

Browse files
committed
fix calls to tree copier that now requires multiple parameter lists
1 parent bdd5887 commit 77d2d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/parsing/JavaParsers.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ object JavaParsers {
618618
if (statics.isEmpty) cdef
619619
else {
620620
val template = cdef.rhs.asInstanceOf[Template]
621-
cpy.TypeDef(cdef, cdef.mods, cdef.name,
622-
cpy.Template(template, template.constr, template.parents, template.self,
621+
cpy.TypeDef(cdef)(cdef.mods, cdef.name,
622+
cpy.Template(template)(template.constr, template.parents, template.self,
623623
importCompanionObject(cdef) :: template.body),
624624
cdef.tparams)
625625
}

0 commit comments

Comments
 (0)