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

Inference issues with accessing hcat-ed arrays #170

Open
freemin7 opened this issue Feb 19, 2020 · 0 comments
Open

Inference issues with accessing hcat-ed arrays #170

freemin7 opened this issue Feb 19, 2020 · 0 comments

Comments

@freemin7
Copy link

This produces

@inferred overdub(Ctx(), x -> hcat(x,x)[1], [8,9,99])

ERROR: return type Int64 does not match inferred return type Any
However

@inferred overdub(Ctx(), x -> x[1], hcat([8,9,99], [8,9,99]))

does not.
I was told on Slack to create this issue since it did not go away when i ]add Cassette#master. I found it when playing around the code from #153 (comment) but i have no idea what i am doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant