summaryrefslogtreecommitdiff
path: root/test/files/presentation/scope-completion-2/src/Completions.scala
blob: 96d38f1b851f4ff4b26fa6ee5a870e37ec5b0546 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
    /*_*/
  }
}