Skip to content

Lambda evaluation - Cannot evaluate because of compilation error(s): Evaluations must contain either an expression or a block of well-formed statements #754

@spottedmahn

Description

@spottedmahn
Environment
  • Operating System: Win 10
  • JDK version: openjdk version "11.0.5" 2019-10-15
  • Java extension version: ?? do you mean "Language Support for Java(TM) by Red Hat"? if so 0.55.1
  • Java Debugger extension version: 0.24.0
  • Visual Studio Code Version: 1.41.1 (user setup)
  • Commit: 26076a4de974ead31f97692a0d32f90d735645c0
  • Date: 2019-12-18T14:58:56.166Z
  • Electron: 6.1.5
  • Chrome: 76.0.3809.146
  • Node.js: 12.4.0
  • V8: 7.6.303.31-electron.0
  • OS: Windows_NT x64 10.0.18363
Steps To Reproduce
  1. Use a Stream.forEach() and try to evaluate something in the debug console

Sample project

java test runner - can't evaluate.log

Current Result

image

maybe it more has to do w/ lambda's? 🤔

image

Expected Result

image

image

Additional Informations

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions