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

Error with nested map #173

Closed
etiennedeg opened this issue Apr 23, 2021 · 5 comments
Closed

Error with nested map #173

etiennedeg opened this issue Apr 23, 2021 · 5 comments

Comments

@etiennedeg
Copy link

etiennedeg commented Apr 23, 2021

The following code

map(x->x, map(x->x, []) )

result in this error

TypeError: in new, expected UnionAll, got Type{Tuple}

I didn't manage to make it smaller, I have no clue on what's going on.

@aviatesk
Copy link
Owner

Thanks for your report ! Will dig into this over the weekend.

@aviatesk
Copy link
Owner

Hm, I couldn't repro this.
What's the versions of your JET and julia ?

@etiennedeg
Copy link
Author

Ah, it's nastier than what I thought, it only works when I have one of my personal package loaded, I will investigate this tonight and give you a cleaner MWE.

@etiennedeg
Copy link
Author

Ok, the problem is not that much on my package, but on the JuMP package.
Executing using JuMP before reporting the file should be sufficient to reproduce it, but it is probably possible to dig down a bit more, I will try to do what I can...

@aviatesk
Copy link
Owner

Okay, this is the issue of Julia:

This doesn't happen on the nightly Julia, though.

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

2 participants