Skip to content

Function parameters: type inference gets an added space #31

@NathanLovato

Description

@NathanLovato

Input:

func set_avatar_at(at := AvatarAt.LEFT) -> void:

Output:

func set_avatar_at(at: = AvatarAt.LEFT) -> void:

It currently applies the same rule as if there was an explicit type hint: at: AvatarAt = AvatarAt.LEFT

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamThe issue (likely) can't be solved in this repository: a library needs a change

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions