Commit 04f5a0b
authored
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 #15927File tree
3 files changed
+17
-1
lines changed- scaladoc-testcases/src/tests
- scaladoc
- src/dotty/tools/scaladoc/tasty
- test/dotty/tools/scaladoc/signatures
3 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
| 270 | + | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
0 commit comments