From 9d1bc68b78a76a18777a859816bcb1c7f81bf2dd Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Thu, 10 May 2012 18:41:11 +0200 Subject: Fixed SI-5708. Correctly compute accessibility for object members. --- test/files/presentation/t5708/src/Completions.scala | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/files/presentation/t5708/src/Completions.scala (limited to 'test/files/presentation/t5708/src/Completions.scala') diff --git a/test/files/presentation/t5708/src/Completions.scala b/test/files/presentation/t5708/src/Completions.scala new file mode 100644 index 0000000000..1e9e5d5eb1 --- /dev/null +++ b/test/files/presentation/t5708/src/Completions.scala @@ -0,0 +1,18 @@ +package test + +object Compat { + final val CONST_STRING = "constant" + lazy val foo = 4 + + private val privateV = "" + private[test] val pkgPrivateV = "" + protected val protectedV = "" + + private def privateM = "" + private[test] def pkgPrivateM = "" + protected def protectedValM = "" +} + +class Foo { + Compat./*!*/CONST_STRING // its 'accessible' flag is false +} -- cgit v1.2.3