We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ae57b commit 20448c8Copy full SHA for 20448c8
doc-tool/src/dotty/tools/dottydoc/util/MemberLookup.scala
@@ -77,7 +77,8 @@ trait MemberLookup {
77
case (x :: xs, _) =>
78
if (xs.nonEmpty) globalLookup
79
else lookup(entity, packages, "scala." + query)
80
- case (Nil, _) => ??? // impossible as long as query is not empty
+ case (Nil, _) =>
81
+ throw new IllegalArgumentException("`query` cannot be empty")
82
}
83
84
0 commit comments