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
…types
Before `ShortcutImplicits`, calls to such methods are never in tail
position since we call `.apply` on them to pass the implicit arguments.
By moving `ShortcutImplicits` before `TailRec` we avoid this problem.
smarter
added a commit
to dotty-staging/dotty
that referenced
this issue
Mar 26, 2018
…types
Before `ShortcutImplicits`, calls to such methods are never in tail
position since we call `.apply` on them to pass the implicit arguments.
By moving `ShortcutImplicits` before `TailRec` we avoid this problem.
The following example shows that implicit functions and tail recursion do not seem to get along very well
The text was updated successfully, but these errors were encountered: