diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-11-18 08:44:19 -0800 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-11-18 08:44:19 -0800 |
commit | e6bac4cb8398562e28cc03303cf5ee425f966910 (patch) | |
tree | 1a29c9eeb1a6250ceb9d084024b1ce17ddeeef63 /test/files/presentation/scope-completion-4 | |
parent | 202cf2c4d91c9a3572fcdb99fa6d29d4536fbd37 (diff) | |
parent | 3028327e2a2b553b12ee45519413515c8aa0865f (diff) | |
download | scala-e6bac4cb8398562e28cc03303cf5ee425f966910.tar.gz scala-e6bac4cb8398562e28cc03303cf5ee425f966910.tar.bz2 scala-e6bac4cb8398562e28cc03303cf5ee425f966910.zip |
Merge pull request #3140 from skyluc/issue/completion-import-object-7280
SI-7280 Scope completion not returning members provided by imports
Diffstat (limited to 'test/files/presentation/scope-completion-4')
-rw-r--r-- | test/files/presentation/scope-completion-4/Test.scala | 3 | ||||
-rw-r--r-- | test/files/presentation/scope-completion-4/src/Completions.scala | 84 |
2 files changed, 87 insertions, 0 deletions
diff --git a/test/files/presentation/scope-completion-4/Test.scala b/test/files/presentation/scope-completion-4/Test.scala new file mode 100644 index 0000000000..bec1131c4c --- /dev/null +++ b/test/files/presentation/scope-completion-4/Test.scala @@ -0,0 +1,3 @@ +import scala.tools.nsc.interactive.tests.InteractiveTest + +object Test extends InteractiveTest
\ No newline at end of file diff --git a/test/files/presentation/scope-completion-4/src/Completions.scala b/test/files/presentation/scope-completion-4/src/Completions.scala new file mode 100644 index 0000000000..d11315720a --- /dev/null +++ b/test/files/presentation/scope-completion-4/src/Completions.scala @@ -0,0 +1,84 @@ +package test + +/* check that members defined in sub-block are not visible*/ + +class Completion1 { + + def f { + + def ff { + + def fff { + /*_*/ + } + + /*_*/ + + class ffc { + /*_*/ + } + + /*_*/ + } + + /*_*/ + + class fc { + + def fcf { + /*_*/ + } + + /*_*/ + + class fcc { + /*_*/ + } + + /*_*/ + } + + /*_*/ + } + + /*_*/ + + class c { + + class cc { + + class ccc { + /*_*/ + } + + /*_*/ + + def ccf { + /*_*/ + } + + /*_*/ + } + + /*_*/ + + def cf { + + class cfc { + /*_*/ + } + + /*_*/ + + def cff { + /*_*/ + } + + /*_*/ + } + + /*_*/ + } + + /*_*/ +} |