aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/i143.scala
blob: 1cbccc281d42f6e6ea3e13dc41c5870a6d2fc430 (plain) (tree)
1
2
3
4
5
6
7
8






                                          
                                            



                                                    
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
  }
}