summaryrefslogtreecommitdiff
path: root/test/files/presentation/scope-completion-import/src/Completions.scala
blob: 6e08321283572055ae0490ac75d4799588603baf (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package test

class C {
  def fCCC : Int = 0
}

object O extends C {
  def fOOO : Int = 0
}

class Foo {
  {
    val o = O
    import o._
    /*_*/
  }
  {
    import O._
    /*_*/
  }
  {
    val c = new C
    import c._
    /*_*/
  }
  {
    f/*_*/
    val c = new C
    import c._
    f/*_*/
    import O._
    f/*_*/
  }
}

class Foo_1 {

  import O._

  def bar {
    /*_*/
  }
}

class Foo_2 {

  val o = O
  import o._

  def bar {
    /*_*/
  }
}

class Foo_3 {

  val c = new C
  import c._

  def bar {
    /*_*/
  }
}