-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conditionalized class declaration with constraints #431
Labels
Comments
Gama11
added
bug
Something isn't working
whitespace
missing or incorrect space around token
labels
Apr 7, 2019
Looks like this also removes the empty line that's meant to come after the class, if there's multiple types: #if (haxe_ver >= "4.0.0")
class FlxTypedEmitter<T:FlxSprite & IFlxParticle> extends FlxTypedGroup<T>
#else
class FlxTypedEmitter<T:(FlxSprite, IFlxParticle) > extends FlxTypedGroup<T>
#end
{
var foo:Int;
}
enum Foo {} |
AlexHaxe
added a commit
to AlexHaxe/haxe-formatter
that referenced
this issue
Mar 23, 2020
AlexHaxe
added a commit
that referenced
this issue
Mar 23, 2020
AlexHaxe
added
emptylines
missing or incorrect empty line
and removed
whitespace
missing or incorrect space around token
labels
Mar 23, 2020
whitespace issue fixed, emptylines still open |
AlexHaxe
added a commit
that referenced
this issue
Oct 4, 2024
fixed empty classes with conditional metadata fixed class fields with conditional function signatures fixed abstract enum abstracts with conditionals
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not even syntax highlighting can deal with this properly, so this may not be very high-priority. :)
turns into:
(note the space that's inserted before the
>
)The text was updated successfully, but these errors were encountered: