aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i143.scala
blob: 1cbccc281d42f6e6ea3e13dc41c5870a6d2fc430 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package dotty.tools.dotc
package transform

import dotty.tools.dotc.core.Denotations._
import dotty.tools.dotc.core.Symbols._
import dotty.tools.dotc.core.Contexts._

class TC5(val ctx: Context) extends AnyVal {
  def candidates(mbr: SingleDenotation): Boolean = {
    mbr.symbol.denot(ctx).exists
  }
}