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 af7112f commit 0c974fdCopy full SHA for 0c974fd
compiler/src/dotty/tools/dotc/core/Denotations.scala
@@ -277,7 +277,7 @@ object Denotations {
277
* single-denotations that do not satisfy the predicate are left alone
278
* (whereas suchThat would map them to NoDenotation).
279
*/
280
- def disambiguate(p: Symbol => Boolean)(using Context): SingleDenotation = this match {
+ inline def disambiguate(inline p: Symbol => Boolean)(using Context): SingleDenotation = this match {
281
case sdenot: SingleDenotation => sdenot
282
case mdenot => suchThat(p) orElse NoQualifyingRef(alternatives)
283
}
0 commit comments