Skip to content

Desired type isn't passed down in a Ternary Expr #139

Description

@vdka
#import kai("arrays")

main :: fn() -> void {
    buf := []u8{}
    arrays.Append(&buf, true ? "i" : "u")
}

Cannot convert 'true ? "i" : "u"' (type string) to expected type 'u8'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions