Skip to content

Space between get and () in special getter setter syntax #314

Description

@NathanLovato

one small inconsistency in the formatting:

# Input:
var test: String:
    get():
        return ""
    set(value):
        return

# Output:
var test: String:
    get ():
        return ""
    set(value):
        return

imo, we should get rid of the space between 'get' and '()' since normal functions don't have that type of space.

Originally posted by @portlek in #302

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions