diff options
author | Paul Phillips <paulp@improving.org> | 2013-04-30 05:25:10 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-30 08:13:02 -0700 |
commit | e6af9bcd0e68859a3bb71140342bb76c136714ee (patch) | |
tree | 2a4832267cc39d397783547b26ee23607a60e0ec /test/files/presentation | |
parent | bf0db36d8bbb0ac7faa0652b98458cfebca8e78a (diff) | |
download | scala-e6af9bcd0e68859a3bb71140342bb76c136714ee.tar.gz scala-e6af9bcd0e68859a3bb71140342bb76c136714ee.tar.bz2 scala-e6af9bcd0e68859a3bb71140342bb76c136714ee.zip |
SI-7362, crash in presentation compiler.
Code by retronym, test by huitseeker, I just move stuff around.
Diffstat (limited to 'test/files/presentation')
-rw-r--r-- | test/files/presentation/t1207.check | 53 | ||||
-rw-r--r-- | test/files/presentation/t1207/Test.scala | 3 | ||||
-rw-r--r-- | test/files/presentation/t1207/src/Completions.scala | 20 |
3 files changed, 76 insertions, 0 deletions
diff --git a/test/files/presentation/t1207.check b/test/files/presentation/t1207.check new file mode 100644 index 0000000000..0ff7dbcd1e --- /dev/null +++ b/test/files/presentation/t1207.check @@ -0,0 +1,53 @@ +reload: Completions.scala + +askTypeCompletion at Completions.scala(10,15) +================================================================================ +[response] aksTypeCompletion at (10,15) +retrieved 3 members +[accessible: true] `package bongoother.bongo.type` +[accessible: true] `package langother.lang.type` +[accessible: true] `package utilother.util.type` +================================================================================ + +askTypeCompletion at Completions.scala(11,16) +================================================================================ +[response] aksTypeCompletion at (11,16) +retrieved 3 members +[accessible: true] `package bongoother.bongo.type` +[accessible: true] `package langother.lang.type` +[accessible: true] `package utilother.util.type` +================================================================================ + +askTypeCompletion at Completions.scala(12,19) +================================================================================ +[response] aksTypeCompletion at (12,19) +retrieved 3 members +[accessible: true] `package bongoother.bongo.type` +[accessible: true] `package langother.lang.type` +[accessible: true] `package utilother.util.type` +================================================================================ + +askTypeCompletion at Completions.scala(13,19) +================================================================================ +[response] aksTypeCompletion at (13,19) +retrieved 3 members +[accessible: true] `package bongoother.bongo.type` +[accessible: true] `package langother.lang.type` +[accessible: true] `package utilother.util.type` +================================================================================ + +askTypeCompletion at Completions.scala(14,23) +================================================================================ +[response] aksTypeCompletion at (14,23) +retrieved 3 members +[accessible: true] `package bongoother.bongo.type` +[accessible: true] `package langother.lang.type` +[accessible: true] `package utilother.util.type` +================================================================================ + +askTypeCompletion at Completions.scala(15,10) +================================================================================ +[response] aksTypeCompletion at (15,10) +retrieved 0 members + +================================================================================ diff --git a/test/files/presentation/t1207/Test.scala b/test/files/presentation/t1207/Test.scala new file mode 100644 index 0000000000..bec1131c4c --- /dev/null +++ b/test/files/presentation/t1207/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/t1207/src/Completions.scala b/test/files/presentation/t1207/src/Completions.scala new file mode 100644 index 0000000000..804d4fdc3d --- /dev/null +++ b/test/files/presentation/t1207/src/Completions.scala @@ -0,0 +1,20 @@ +package other { + package bongo { } + package lang { } + package util { + package boogly + } +} + +package ticket_1001207 { + import other./*!*/ + import other.u/*!*/ + import other.uti /*!*/ + import other.util/*!*/ + import other.{lang, u/*!*/} + import j/*!*/ + + class T1207 { + + } +} |