question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong signature help in two edge cases

See original GitHub issue

Compiler version

3.2.0-RC1-bin-20220519-ee9cc8f-NIGHTLY

Minimized code

For signature help with cursor located at @@: 1.

object a {
  List(1, 2@@
}
object a {
  def curry(a: Int, b: Int)(c: Int) = a
  curry(1)(3@@)
}

Output

Empty output.

Expectation

apply[A](xs: A*): List[A]
         ^^^^^^
curry(a: Int, b: Int)(c: Int): Int
                      ^^^^^^

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
rochalacommented, May 20, 2022

Do we ever want to show tuple signature ? In my opinion no, what do you say ?

0reactions
tgodzikcommented, May 20, 2022

Do we ever want to show tuple signature ? In my opinion no, what do you say ?

I would say that we don’t want to show it ever.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Taking the Edge off of Edge Cases | by Sara Khandaker
Both unit-testing and user-testing can be helpful here. Simply writing out good unit tests will force you to start thinking about edge cases....
Read more >
Calculated signature help positions may be incorrect for Lisp ...
I found this behaviour when I'm trying to implement the signature help function for clojure-lsp, and I think the reproduction steps aren't ...
Read more >
How to find and deal with edge cases in UX design | UX Planet
The process I will follow is as follows: happy path > different cases > edge cases.
Read more >
Chasing Edge Cases - Dev Genius
Chasing edge-cases can be a developers biggest pitfall if done in the wrong environment or their greatest strength if done in the right ......
Read more >
Thinking like a developer, part II: design the edge cases
A weekly resourceful newsletter that helps designers stay in the know, be productive, and think more critically about their work. Take a look....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found