Permalink
Browse files

Add test for t5708 in pending/presentation

  • Loading branch information...
phaller committed May 6, 2012
1 parent 7cac633 commit 03181b0a6932c719f6d41de2fa303b7f2e8836e7
@@ -0,0 +1,81 @@
reload: Completions.scala
askTypeCompletion at Completions.scala(9,9)
================================================================================
[response] aksTypeCompletion at (9,9)
retrieved 38 members
[accessible: true] `method !=(x$1: Any)Boolean`
[accessible: true] `method !=(x$1: AnyRef)Boolean`
[accessible: true] `method ##()Int`
[accessible: true] `method +(other: String)String`
[accessible: true] `method ->[B](y: B)(test.Compat.type, B)`
[accessible: true] `method ==(x$1: Any)Boolean`
[accessible: true] `method ==(x$1: AnyRef)Boolean`
[accessible: true] `method asInstanceOf[T0]=> T0`
[accessible: true] `method ensuring(cond: Boolean)test.Compat.type`
[accessible: true] `method ensuring(cond: Boolean, msg: => Any)test.Compat.type`
[accessible: true] `method ensuring(cond: test.Compat.type => Boolean)test.Compat.type`
[accessible: true] `method ensuring(cond: test.Compat.type => Boolean, msg: => Any)test.Compat.type`
[accessible: true] `method eq(x$1: AnyRef)Boolean`
[accessible: true] `method equals(x$1: Any)Boolean`
[accessible: true] `method formatted(fmtstr: String)String`
[accessible: true] `method hashCode()Int`
[accessible: true] `method isInstanceOf[T0]=> Boolean`
[accessible: true] `method ne(x$1: AnyRef)Boolean`
[accessible: true] `method notify()Unit`
[accessible: true] `method notifyAll()Unit`
[accessible: true] `method synchronized[T0](x$1: T0)T0`
[accessible: true] `method toString()String`
[accessible: true] `method wait()Unit`
[accessible: true] `method wait(x$1: Long)Unit`
[accessible: true] `method wait(x$1: Long, x$2: Int)Unit`
[accessible: true] `method x=> test.Compat.type`
[accessible: true] `method →[B](y: B)(test.Compat.type, B)`
[accessible: true] `lazy value fooInt`
[accessible: false] `method clone()Object`
[accessible: false] `method finalize()Unit`
[accessible: true] `value CONST_STRINGString("constant")`
[accessible: false] `value __leftOfArrowtest.Compat.type`
[accessible: false] `value __resultOfEnsuringtest.Compat.type`
[accessible: false] `value selfAny`
================================================================================
askTypeCompletion at Completions.scala(10,9)
================================================================================
[response] aksTypeCompletion at (10,9)
retrieved 38 members
[accessible: true] `method !=(x$1: Any)Boolean`
[accessible: true] `method !=(x$1: AnyRef)Boolean`
[accessible: true] `method ##()Int`
[accessible: true] `method +(other: String)String`
[accessible: true] `method ->[B](y: B)(test.Compat.type, B)`
[accessible: true] `method ==(x$1: Any)Boolean`
[accessible: true] `method ==(x$1: AnyRef)Boolean`
[accessible: true] `method asInstanceOf[T0]=> T0`
[accessible: true] `method ensuring(cond: Boolean)test.Compat.type`
[accessible: true] `method ensuring(cond: Boolean, msg: => Any)test.Compat.type`
[accessible: true] `method ensuring(cond: test.Compat.type => Boolean)test.Compat.type`
[accessible: true] `method ensuring(cond: test.Compat.type => Boolean, msg: => Any)test.Compat.type`
[accessible: true] `method eq(x$1: AnyRef)Boolean`
[accessible: true] `method equals(x$1: Any)Boolean`
[accessible: true] `method formatted(fmtstr: String)String`
[accessible: true] `method hashCode()Int`
[accessible: true] `method isInstanceOf[T0]=> Boolean`
[accessible: true] `method ne(x$1: AnyRef)Boolean`
[accessible: true] `method notify()Unit`
[accessible: true] `method notifyAll()Unit`
[accessible: true] `method synchronized[T0](x$1: T0)T0`
[accessible: true] `method toString()String`
[accessible: true] `method wait()Unit`
[accessible: true] `method wait(x$1: Long)Unit`
[accessible: true] `method wait(x$1: Long, x$2: Int)Unit`
[accessible: true] `method x=> test.Compat.type`
[accessible: true] `method →[B](y: B)(test.Compat.type, B)`
[accessible: true] `lazy value fooInt`
[accessible: false] `method clone()Object`
[accessible: false] `method finalize()Unit`
[accessible: true] `value CONST_STRINGString("constant")`
[accessible: false] `value __leftOfArrowtest.Compat.type`
[accessible: false] `value __resultOfEnsuringtest.Compat.type`
[accessible: false] `value selfAny`
================================================================================
@@ -0,0 +1,5 @@
import scala.tools.nsc.interactive.tests.InteractiveTest
object Test extends InteractiveTest {
}
@@ -0,0 +1,11 @@
package test
object Compat {
final val CONST_STRING = "constant"
lazy val foo = 4
}
class Foo {
Compat./*!*/CONST_STRING // its 'accessible' flag is false
Compat./*!*/foo // its 'accessible' flag is false
}

0 comments on commit 03181b0

Please sign in to comment.