-
Notifications
You must be signed in to change notification settings - Fork 38
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
String literals aren't inferred as strings #106
Comments
I'd say having that for a string literal is fine, but everything else is a stretch:). |
Being able to invoke e.g. |
What for? :) You already know that the index is 0. |
Maybe I want to quickly remember the methods I can call on a vector 👀 and then replace Sort of a contrived technique, however it's definitely quicker than any alternative I can think of. |
|
Yeah but neither of those are as fast - with this approach it's about 3 keystrokes away ( Another point of view is simply pride - when one sees a gazillion unrelated completions for Either way, it's no big deal although probably I'd enjoy working on it some day. |
* Infer the class string and coll literals Fixes #106
Although it's very much a marginal case, I noticed that
(.| "a string")
doesn't trigger accurate completions.If fixing it, one could also tackle other literals such as
[]
(admittedly interop on a vector is also a very marginal use case)I'd be willing to work on this one.
The text was updated successfully, but these errors were encountered: