summaryrefslogtreecommitdiff
path: root/test/files/presentation/scope-completion-2/src/Completions.scala
blob: f8d7cd6ba8724f0cdf5da7b68d3a6247d21fd6fe (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
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 {
  }

  /*_*/
}

object Completion1 {

  val c = new Completion1()
  import c._

  private val vo1 = 0
  private def fo1 = 0

  private class Co1 {
  }

  /*_*/
}