You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Scaladoc crash when extending non-Scala-3 classes (short-term fix for 3.3.x) (#16759)
Added jpath check to `ClassLikeSupport` getParentsAsTreeSymbolTuples
— check for whether the non-scala3 parent exists before checking the
start and end of the span to confirm whether the span exists in
getParentsAsTreeSymbolTuples.
Fixes#15927
parentTree <- c.parents if parentTree.pos.start != parentTree.pos.end // We assume here that order is correct
269
+
// TODO: add exists function to position methods in Quotes and replace the condition here for checking the JPath
270
+
parentTree <- c.parents if parentTree.pos.sourceFile.getJPath.isDefined && parentTree.pos.start != parentTree.pos.end // We assume here that order is correct
270
271
parentSymbol = parentTree match
271
272
caset: TypeTree=> t.tpe.typeSymbol
272
273
case tree if tree.symbol.isClassConstructor => tree.symbol.owner
0 commit comments