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.

Add test for Local Variable Type Inference

See original GitHub issue

Enhance the test suite to verify that variables in tests containing var keywords are correctly recorded. Similar tests can be found in the junit4-tests project. For more info about Local Variable Type Inference, see JEP 286 and JEP 323.

Also, add a failing test to the showcase project, to make sure that the rendered failure message looks pretty.

Note: please make sure to visit the contribution and development guide for some important notes on how to build and debug Scott.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
vpondalacommented, Oct 26, 2018

I’m having trouble with maven plugin compatibility with JDK 11. Let me work on this and keep you posted.

0reactions
vpondalacommented, Nov 30, 2018

Great stuff. Sorry for the delay.

On Sat., 1 Dec. 2018, 09:34 Dávid Csákvári <notifications@github.com wrote:

Hi @vpondala https://github.com/vpondala! I am planning to release the next version of Scott soon, so I’ve added the necessary changes regarding this issue, to make the next version Java 11 compatible. Cheers, David

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dodie/scott/issues/47#issuecomment-443360287, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYhMNVcuUTwpu4II2KEE61p-lCZARcqks5u0bKFgaJpZM4XBEyl .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java 10 LocalVariable Type-Inference - Baeldung
A quick and practical guide to Java 10 Local Variable Type Inference.
Read more >
Type inference and type annotations - Mypy documentation
Type inference is bidirectional and takes context into account. ... The value expression [1, 2] is type checked with the additional context that...
Read more >
Local Variable Type Inference Examples - gists · GitHub
Local Variable Type Inference Examples. GitHub Gist: instantly share ... var test = new LocalVariableTypeInferenceTest(); ... orders.add(UUID.randomUUID().
Read more >
Local Variable Type Inference or LVTI in Java 10
Local variable type inference is a feature in Java 10 that allows the developer to skip the type declaration associated with local variables...
Read more >
Java – Local variable Type Inference – Adam Gamboa G
Local variable inference type is available inside initialization block of loop statements, try-with-resources and lambda expressions.
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