Skip to content

Commit

Permalink
Fix typo while backporting
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jul 2, 2024
1 parent 1f20937 commit aff7b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,8 @@ object JavaParsers {
else
javaLangObject()
val interfaces = interfacesOpt()
val (statics, body) = typeBody(CLASS, name, tparams)
val permittedSubclasses = permittedSubclassesOpt(mods.is(Flags.Sealed))
val (statics, body) = typeBody(CLASS, name, tparams)
val cls = atSpan(start, nameOffset) {
TypeDef(name, makeTemplate(superclass :: interfaces, body, tparams, true)).withMods(mods)
}
Expand Down

0 comments on commit aff7b88

Please sign in to comment.