Wrong details and symbols returned by Completions
See original GitHub issueCompiler version
3.0.0-RC2
Minimized code
For:
object A {
java.nio.file.Files.readAttributes@@
}
when using:
Completion.completions(pos)
where pos is set at @@
Output
Completion(
readAttributes,
method readAttributes,
List(method readAttributes, method readAttributes)
)
Expectation
Previously for 3.0.0-RC1
we were getting:
List(Completion(
readAttributes,
(x$0: java.nio.file.Path, x$1: String, x$2: java.nio.file.LinkOption*): java.util.Map[String, Object],
List(method readAttributes))
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Fixing issues in your code as you type - Apple Developer
One of the symbols is in. To insert a suggested completion into your source code, select the item and press Return. You can...
Read more >julia/REPLCompletions.jl at master · JuliaLang/julia - GitHub
# Determines the return type with the Compiler of a function call using the type information of the arguments. function get_type_call(expr::Expr, ...
Read more >Code Completion With Special Characters
Hi, I'm using code completion in my plugin to create expressions which begin with ... such as "hello", should be returned as bad...
Read more >java - What does a "Cannot find symbol" or "Cannot resolve ...
A "Cannot find symbol" error means that the compiler cannot do this. ... Perhaps you imported the wrong type; e.g. due to IDE...
Read more >The "Cannot find symbol" Compilation Error - Baeldung
The “cannot find symbol” error comes up mainly when we try to use a variable that's not defined or declared in our program....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Were you waiting for me to give an answer by the way? I didn’t reply to this thread because I saw @tgodzik was participating already, and also I stopped maintaining dotty.tools.dotc.interactive ever since we abandoned the Dotty Language Server, so please don’t rely on me for anything important!
I guess it should help there too, yes.