diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-02-17 16:02:49 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-02-17 16:02:49 +1000 |
commit | 9cd5c881fc13acbd9aca08fd6ae2830292e5f1b4 (patch) | |
tree | 7fa3c39ce6b8d9380ec718a7872df689eddefab7 /test | |
parent | a8ec6c97ea7edbf25ffffe2e798b2deedcd5955f (diff) | |
download | scala-9cd5c881fc13acbd9aca08fd6ae2830292e5f1b4.tar.gz scala-9cd5c881fc13acbd9aca08fd6ae2830292e5f1b4.tar.bz2 scala-9cd5c881fc13acbd9aca08fd6ae2830292e5f1b4.zip |
Remove incorrect completions: implicits can't add type members
The checkfile of the tests added in the last commit offered
a type member from `RichInt` in the completions for the type
`Int`. However, only term members can be extension methods;
type members cannot.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/presentation/infix-completion.check | 3 | ||||
-rw-r--r-- | test/files/presentation/infix-completion2.check | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/files/presentation/infix-completion.check b/test/files/presentation/infix-completion.check index 84b5325448..f62dc81d34 100644 --- a/test/files/presentation/infix-completion.check +++ b/test/files/presentation/infix-completion.check @@ -3,7 +3,7 @@ reload: Snippet.scala askTypeCompletion at Snippet.scala(1,34) ================================================================================ [response] askTypeCompletion at (1,34) -retrieved 193 members +retrieved 192 members [inaccessible] protected def integralNum: math.Numeric.DoubleAsIfIntegral.type [inaccessible] protected def num: math.Numeric.DoubleIsFractional.type [inaccessible] protected def ord: math.Ordering.Double.type @@ -190,5 +190,4 @@ override def min(that: Double): Double override def min(that: Long): Long override def signum: Int private[this] val self: Double -type ResultWithoutStep = Range.Partial[Double,scala.collection.immutable.NumericRange[Double]] ================================================================================ diff --git a/test/files/presentation/infix-completion2.check b/test/files/presentation/infix-completion2.check index d61ca5e571..5c69cd84cb 100644 --- a/test/files/presentation/infix-completion2.check +++ b/test/files/presentation/infix-completion2.check @@ -3,7 +3,7 @@ reload: Snippet.scala askTypeCompletion at Snippet.scala(1,34) ================================================================================ [response] askTypeCompletion at (1,34) -retrieved 212 members +retrieved 211 members [inaccessible] protected def integralNum: math.Numeric.DoubleAsIfIntegral.type [inaccessible] protected def num: math.Numeric.DoubleIsFractional.type [inaccessible] protected def ord: math.Ordering.Double.type @@ -208,5 +208,4 @@ override def min(that: Int): Int override def min(that: Long): Long override def signum: Int private[this] val self: Double -type ResultWithoutStep = Range.Partial[Double,scala.collection.immutable.NumericRange[Double]] ================================================================================ |