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

Debugging code minings do not work for lambdas #90

Open
vogella opened this issue Nov 20, 2018 · 0 comments
Open

Debugging code minings do not work for lambdas #90

vogella opened this issue Nov 20, 2018 · 0 comments

Comments

@vogella
Copy link
Contributor

vogella commented Nov 20, 2018

Code minings for debugging currently do not work for lambdas.

The following works:

text.addModifyListener(new ModifyListener() {
			@Override
			public void modifyText(ModifyEvent e) {
				int i = 5;
				int b = i +5;
				System.out.println(b);
				System.out.println(i);
			}
		});

The following does not works:

Text text = new Text(parent, SWT.SINGLE | SWT.LEAD | SWT.BORDER);
		text.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
		text.setText("Hello");
		text.addModifyListener(e -> {
			int i = 5;
			int b = i +5;
			System.out.println(b);
			System.out.println(i);
		});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant