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.

Diagnostics false negatives

See original GitHub issue

I have the following line (from this repo) return Hover(listOf(Either.forRight(MarkedString("kotlin", hoverText) for which KLS reports:

[INFO]      debounce0   main    Linting .../hover/hovers.kt
[INFO]      async0      main    Finished in 11 ms
[INFO]      debounce0   main    No diagnostics in hovers.kt
[INFO]      async0      main    Find symbols in TextDocumentIdentifier [
                                uri = "file:///home/noah/Kotlin/KotlinLanguageServer/src/main/kotlin/org/javacs/kt/hover/hovers.kt"
                                ]    

while gradle complains: e: /home/noah/Kotlin/KotlinLanguageServer/src/main/kotlin/org/javacs/kt/hover/hovers.kt: (51, 74): Expecting ')'

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fwcdcommented, Jul 31, 2018

@Strum355 The linter ist not 100% accurate currently, because the mechanism used to incrementally compile an expression is somewhat hacky.

Maybe some kind of race condition occurred when the compiler tries to evaluate your currently selected expression as you move your cursor too quickly for the linter to keep up.

I will leave this open for now.

0reactions
fwcdcommented, Jul 31, 2018

@Strum355 Yes, they all run on a single async thread (except for the linter), because the Kotlin compiler internals seem to have trouble with concurrency (see #42).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding the Accuracy of Diagnostic and Serology Tests
False results are also known as testing errors. The consequences of a testing error—a false positive or a false negative—are not equivalent.
Read more >
Definition of false-negative test result - National Cancer Institute
A test result that indicates that a person does not have a specific disease or condition when the person actually does have the...
Read more >
False Negative Tests for SARS-CoV-2 Infection
Diagnostic tests (typically involving a nasopharyngeal swab) can be inaccurate in two ways. A false positive result erroneously labels a person ...
Read more >
False Negatives and Reinfections: the Challenges of SARS ...
'False-negative' test results refer to cases where someone who truly has the disease tests negative instead of positive. For RT-PCR tests, like ...
Read more >
Beware of False Negatives in Diagnostic Testing of COVID-19
The false negative rate decreased to 20% on Day 8 (three days after a person begins experiencing symptoms). They also found that on...
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