You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... and i'm not really sure whether this is a bug or i'm trying to compile something strange :)
UPD: specifying concrete types gets rid of assertion, i'm impressed.
The text was updated successfully, but these errors were encountered:
wizzard0
changed the title
[eurollvm branch] assertion failed compiling factorial
[eurollvm branch] assertion failed compiling generic function call from recursive function
Mar 30, 2017
Hmm, interestingly if I decrement not by 1 but by parameter read from stdin -- then all closures are still eliminated, but the recursion is no longer unrolled into a loop.
I improved the example from #58 a bit more :)
and this gets me this assertion:
... and i'm not really sure whether this is a bug or i'm trying to compile something strange :)
UPD: specifying concrete types gets rid of assertion, i'm impressed.
The text was updated successfully, but these errors were encountered: