Consider this code that follows a _"always braces in new line"_ style with a comment following an if condition-
var networkEnabled = true
if networkEnabled //We want to enable the UI..
{
}
The tool ends up converting the above code to-
var networkEnabled = true
if networkEnabled //We want to enable the UI.. {
}
This will result in compiler error as obviously the opening brace after the if is effectively commented out.
Ooh, nice edge case :-) Thanks!
Fixed in v0.3. Thanks!
Thank you @nicklockwood, now time to use it live in my project.