The conditional compilation bit is required for the doc formatting to break.
Input file
class Main {
#if true
function foo() {
#else
function foo() {
#end
}
/**
Doc.
**/
public static function bar():Void {}
}
Broken output
class Main {
#if true
function foo() {
#else
function foo() {
#end
}
/**
Doc.
**/
public static function bar():Void {}
}
Expected output
(unchanged)
An alternative way to trigger this is:
class Main {
function foo() {
#if true
if (true) {
#else
if (true) {
#end
}
}
/**
Doc.
**/
public static function bar():Void {}
}
(Using the default format config.)
The conditional compilation bit is required for the doc formatting to break.
Input file
Broken output
Expected output
(unchanged)
An alternative way to trigger this is:
(Using the default format config.)