Skip to content

Support as syntax for variables and within parentheses #443

@TwitchBronBron

Description

@TwitchBronBron

The type system should allow variables to be typecast (type system only) to any other type. For example:

someVar  = 2 as string ' silly thing to do...but why not
firstName = (someVar as Person).firstName

Metadata

Metadata

Assignees

No one assigned

    Labels

    New Language FeatureA proposal for a new feature to be added to the BrighterScript language

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions