Skip to content

Commit 28ffbeb

Browse files
committed
Fix typo while backporting
1 parent 5ac2f1d commit 28ffbeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,8 @@ object JavaParsers {
842842
else
843843
javaLangObject()
844844
val interfaces = interfacesOpt()
845-
val (statics, body) = typeBody(CLASS, name, tparams)
846845
val permittedSubclasses = permittedSubclassesOpt(mods.is(Flags.Sealed))
846+
val (statics, body) = typeBody(CLASS, name, tparams)
847847
val cls = atSpan(start, nameOffset) {
848848
TypeDef(name, makeTemplate(superclass :: interfaces, body, tparams, true)).withMods(mods)
849849
}

0 commit comments

Comments
 (0)