summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/disabled/presentation/ide-bug-1000349.check0
-rw-r--r--test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala3
-rw-r--r--test/files/presentation/ide-bug-1000349.check40
-rw-r--r--test/files/presentation/ide-bug-1000349/Runner.scala (renamed from test/disabled/presentation/ide-bug-1000349/Runner.scala)0
-rw-r--r--test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala7
5 files changed, 47 insertions, 3 deletions
diff --git a/test/disabled/presentation/ide-bug-1000349.check b/test/disabled/presentation/ide-bug-1000349.check
deleted file mode 100644
index e69de29bb2..0000000000
--- a/test/disabled/presentation/ide-bug-1000349.check
+++ /dev/null
diff --git a/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala b/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala
deleted file mode 100644
index 55df2abc11..0000000000
--- a/test/disabled/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala
+++ /dev/null
@@ -1,3 +0,0 @@
-object Foo {
- "".toString.leng /*!*/
-} \ No newline at end of file
diff --git a/test/files/presentation/ide-bug-1000349.check b/test/files/presentation/ide-bug-1000349.check
new file mode 100644
index 0000000000..9c070ef24e
--- /dev/null
+++ b/test/files/presentation/ide-bug-1000349.check
@@ -0,0 +1,40 @@
+reload: CompletionOnEmptyArgMethod.scala
+
+askTypeCompletion at CompletionOnEmptyArgMethod.scala(2,17)
+================================================================================
+[response] aksTypeCompletion at (2,17)
+retrieved 37 members
+`method !=(x$1: Any)Boolean`
+`method !=(x$1: AnyRef)Boolean`
+`method ##()Int`
+`method +(other: String)String`
+`method ->[B](y: B)(Foo, B)`
+`method ==(x$1: Any)Boolean`
+`method ==(x$1: AnyRef)Boolean`
+`method asInstanceOf[T0]=> T0`
+`method clone()Object`
+`method ensuring(cond: Boolean)Foo`
+`method ensuring(cond: Boolean, msg: => Any)Foo`
+`method ensuring(cond: Foo => Boolean)Foo`
+`method ensuring(cond: Foo => Boolean, msg: => Any)Foo`
+`method eq(x$1: AnyRef)Boolean`
+`method equals(x$1: Any)Boolean`
+`method finalize()Unit`
+`method foo=> Foo`
+`method formatted(fmtstr: String)String`
+`method hashCode()Int`
+`method isInstanceOf[T0]=> Boolean`
+`method ne(x$1: AnyRef)Boolean`
+`method notify()Unit`
+`method notifyAll()Unit`
+`method synchronized[T0](x$1: T0)T0`
+`method toString()String`
+`method wait()Unit`
+`method wait(x$1: Long)Unit`
+`method wait(x$1: Long, x$2: Int)Unit`
+`method x=> Foo`
+`method →[B](y: B)(Foo, B)`
+`value __leftOfArrowFoo`
+`value __resultOfEnsuringFoo`
+`value selfAny`
+================================================================================ \ No newline at end of file
diff --git a/test/disabled/presentation/ide-bug-1000349/Runner.scala b/test/files/presentation/ide-bug-1000349/Runner.scala
index 1ef3cf9025..1ef3cf9025 100644
--- a/test/disabled/presentation/ide-bug-1000349/Runner.scala
+++ b/test/files/presentation/ide-bug-1000349/Runner.scala
diff --git a/test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala b/test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala
new file mode 100644
index 0000000000..a3d8e8f067
--- /dev/null
+++ b/test/files/presentation/ide-bug-1000349/src/CompletionOnEmptyArgMethod.scala
@@ -0,0 +1,7 @@
+object Foo {
+ new Foo().foo. /*!*/
+}
+
+class Foo {
+ def foo = this
+} \ No newline at end of file