Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vdka opened this issue Mar 30, 2018 · 0 comments
Open

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

vdka opened this issue Mar 30, 2018 · 0 comments
Labels

Comments

@vdka
Copy link
Contributor

vdka commented Mar 30, 2018

#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'

@vdka vdka added the bug label Mar 30, 2018
vdka added a commit that referenced this issue Mar 30, 2018
Also added to TODO.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant