Skip to content

Understand implicitly unwrapped primitives in protocol definitions #9

@bdlindsay

Description

@bdlindsay

Example: protocol definition has:
var myString: String! { get }
Does not have a default value of "". It has the default value placeholder. Parrot could strip trailing !'s when looking for known default values and if it is not nil, then use that default value. This could apply for all primitive types and possibly all parrot-default types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions