-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lots of absent completions #41
Comments
Yeah i dunno. If you could provide a standalone non-psp repro that'd be great, or even a repro with psp but including any |
This is really easy to reproduce, or more accurately, you can't help but reproduce it.
Comes in under 733. |
Thanks! Perhaps I can't help but reproduce it, but it's not always obvious when things which should be there are missing. Having concrete repro examples is always nice |
It's a blend of things which should be there missing, but more prominently in this example, things which should be absent being there. Unless Int has a, for instance, NoSuchFieldException member. The last few lines of completions on 5. are
It's obviously every simple identifier being presented as Int members. This may have no cause overlap at all with the |
Maybe the problem fixed itself? This is what I'm seeing in trunk, and it looks about right @ trait Direct[A] { def map[B](f: A => B): Direct[B] }; object Direct { def apply[A](xs: A*): Direct[A] = null }
defined trait Direct
defined object Direct
@ 5.
!= ## % & *
+ - -> / <
<< <= == > >=
>> >>> ResultWithoutStep ^ abs
asInstanceOf byteValue ceil compare compareTo
doubleValue ensuring eq equals floatValue
floor formatted getClass hashCode intValue
isInfinite isInfinity isInstanceOf isNaN isNegInfinity
isPosInfinity isValidByte isValidChar isValidInt isValidLong
isValidShort isWhole longValue max min
ne notify notifyAll round self
shortValue signum synchronized to toBinaryString
toByte toChar toDegrees toDouble toFloat
toHexString toInt toLong toOctalString toRadians
toShort toString unary_+ unary_- unary_~
underlying until wait | →
@ Direct(5).
!= ## + -> == asInstanceOf
ensuring eq equals formatted getClass hashCode
isInstanceOf map ne notify notifyAll synchronized
toString wait →
@ Direct(5).map(_.
!= ## % & *
+ - -> / <
<< <= == > >=
>> >>> ResultWithoutStep ^ abs
asInstanceOf byteValue ceil compare compareTo
doubleValue ensuring eq equals floatValue
floor formatted getClass hashCode intValue
isInfinite isInfinity isInstanceOf isNaN isNegInfinity
isPosInfinity isValidByte isValidChar isValidInt isValidLong
isValidShort isWhole longValue max min
ne notify notifyAll round self
shortValue signum synchronized to toBinaryString
toByte toChar toDegrees toDouble toFloat
toHexString toInt toLong toOctalString toRadians
toShort toString unary_+ unary_- unary_~
underlying until wait | →
@ Seq(Direct(5)).map(_.)
!= ## + -> == asInstanceOf
ensuring eq equals formatted getClass hashCode
isInstanceOf map ne notify notifyAll synchronized
toString wait → |
Probably need some more stuff from your repo for this to manifest, feel free to open with a self-contained example; otherwise I probably won't fix this until i bump into it myself |
That's missing a ton of completions, which can be seen (possibly only in part) with a slightly different formulation:
In case you doubt:
The text was updated successfully, but these errors were encountered: