Skip to content

Commit 193e907

Browse files
Merge pull request #3796 from dotty-staging/update-stdlib-blacklist
Update stdlib blacklist: remove now working entries
2 parents 3004af3 + 28ca0be commit 193e907

File tree

3 files changed

+5
-58
lines changed

3 files changed

+5
-58
lines changed
Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,5 @@
1-
scala/runtime/ScalaRunTime.scala
2-
# Doesn't compile since we're not on 2.11 anymore
3-
4-
5-
## Errors having to do with deep subtypes
6-
7-
scala/collection/generic/ParSetFactory.scala
8-
# This gives a deep subtype violation when run with the rest of the whitelist.
9-
# Works without -Yno-deep-subtypes, though.
10-
11-
scala/collection/parallel/mutable/ParMap.scala
12-
# -Yno-deep-subtypes fails
13-
14-
scala/collection/parallel/ParMap.scala
15-
# -Yno-deep-subtypes fails
16-
17-
scala/collection/parallel/ParMapLike.scala
18-
# -Yno-deep-subtypes fails
19-
20-
21-
22-
## Ycheck failures, presumably linked to TailCalls
23-
24-
scala/collection/parallel/ParIterableLike.scala
25-
# -Ycheck:classOf fails
26-
27-
scala/collection/parallel/ParSeqLike.scala
28-
# -Ycheck:classOf fails
29-
30-
scala/util/control/TailCalls.scala
31-
# -Ycheck:classOf fails
32-
33-
34-
351
## Errors having to do with unavailable APIs or language features:
362

37-
scala/reflect/ClassManifestDeprecatedApis.scala
38-
# 51 | import Manifest._
39-
# | ^^^^^^^^
40-
# | not found: Manifest
41-
42-
scala/reflect/ClassTag.scala
43-
# 124 | val Short : ClassTag[scala.Short] = Manifest.Short
44-
# | ^^^^^^^^
45-
# | not found: Manifest
46-
47-
scala/reflect/Manifest.scala
48-
# 104 | private def readResolve(): Any = Manifest.Short
49-
# | ^^^^^^^^
50-
# | not found: Manifest
51-
523
scala/text/Document.scala
534
# Lots of type errors for pattern matches, having to do with the fact
545
# that Document contains a :: method without corresponding extractor,
@@ -70,8 +21,3 @@ scala/StringContext.scala
7021
# 168 | def f[A >: Any](args: A*): String = macro ???
7122
# | ^^^^^
7223
# | not found: macro
73-
74-
scala/util/control/Exception.scala
75-
# 51 | implicit def throwableSubtypeToCatcher[Ex <: Throwable: ClassTag, T](pf: PartialFunction[Ex, T]) =
76-
# | ^
77-
# | cyclic reference involving method mkCatcher

doc-tool/src/dotty/tools/dottydoc/model/factories.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ object factories {
120120

121121
case ref @ RefinedType(parent, rn, info) =>
122122
expandTpe(parent) //FIXME: will be a refined HK, aka class Foo[X] { def bar: List[X] } or similar
123+
124+
case tp: LazyRef =>
125+
expandTpe(tp.ref)
123126
}
124127

125128
expandTpe(t)
@@ -175,9 +178,7 @@ object factories {
175178
case annot: AnnotatedType =>
176179
paramLists(annot.tpe)
177180

178-
case (_: TypeParamRef | _: RefinedType | _: TypeRef | _: ThisType |
179-
_: ExprType | _: OrType | _: AndType | _: AppliedType |
180-
_: TermRef | _: ConstantType) =>
181+
case _ =>
181182
Nil // return types should not be in the paramlist
182183
}
183184

0 commit comments

Comments
 (0)