Skip to content

Commit f67089a

Browse files
committed
More sane Java classes hack
1 parent cf508b6 commit f67089a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/ClassLikeSupport.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ trait ClassLikeSupport:
116116
classDef.symbol.declaredTypes.foreach {
117117
case typeSymbol: Symbol =>
118118
val typeDef = typeSymbol.tree.asInstanceOf[TypeDef]
119-
if typeDef.rhs.symbol.fullName.contains("java") then
119+
if typeDef.rhs.symbol.flags.is(Flags.JavaDefined) then
120120
val t = typeSymbol.tree.asInkuire(variableNames) // TODO [Inkuire] Hack until type aliases are supported
121121
val tJava = typeDef.rhs.symbol.tree.asInkuire(variableNames)
122122
t match

0 commit comments

Comments
 (0)