summaryrefslogblamecommitdiff
path: root/test/files/presentation/scope-completion-2/src/Completions.scala
blob: 96d38f1b851f4ff4b26fa6ee5a870e37ec5b0546 (plain) (tree)


































                                                                
package test

/* private elements are visible in the companion class/object */

class Completion1 {

  import Completion1._

  private val vc1 = 0
  private def fc1 = 0

  private class Cc1

  def test {
    // needs to be done in a method, because of SI-7280
    /*_*/
  }
}

object Completion1 {

  val c = new Completion1()
  import c._

  private val vo1 = 0
  private def fo1 = 0

  private class Co1

  def test {
    // needs to be done in a method, because of SI-7280
    /*_*/
  }
}