Skip to content
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

signature help stops working after using a lambda #1086

Closed
puremourning opened this issue Jun 28, 2019 · 2 comments
Closed

signature help stops working after using a lambda #1086

puremourning opened this issue Jun 28, 2019 · 2 comments

Comments

@puremourning
Copy link
Contributor

puremourning commented Jun 28, 2019

I found this while implementing signature help in ycmd, and repro'd in visual studio code.

Steps to repro:

  • Create SignatureHelp.java:
import java.util.function.Function;

public class SignatureHelp
{
  public SignatureHelp( String signature ) {
    this.test( (s) -> s );
//.   this.test(
  }
  public void test( Function<String,String> f ) {
  }
}
  • uncomment this.test(, and re-type the (

Expected result:

  • void test( Function<....> ) function is proposed

Actual result:

  • No proposals

Corroloary:

  • Requesting this.test( before the lambda works as expected.
@snjeza snjeza self-assigned this Jun 28, 2019
@snjeza
Copy link
Contributor

snjeza commented Jun 28, 2019

Related issue - #1039

@snjeza
Copy link
Contributor

snjeza commented Jul 1, 2019

Fixed within #1063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants