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

Toggle function definition does not rewrite body correctly #27

Open
PeterSommerlad opened this issue May 4, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@PeterSommerlad
Copy link

Expected Behavior

Toggling the following function should just work:

literPer100km consumption(literGas l, kmDriven km) {
	return {l.l/(km.km/100.0)}; // needs curlies
}

Actual Behavior

body gets written wrong (curly braces guilty?

#include "consumption.h"

literPer100km consumption(literGas l, kmDriven km) {
	return; // needs curlies
}

Cevelop Version, Operating System and Compiler

Version: 1.11.1-201902151304

@fmorgner fmorgner transferred this issue from Cevelop/Issues Feb 23, 2021
@fmorgner fmorgner added the bug Something isn't working label Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants