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
In both cases, traverser.traverse(body) (here) is called when checking the outer spore. In both cases, the value of body is a tree that looks like (something alpha-convertible to) this when printed with showRaw:
The difference is that when the traversergoes through the constructor call anonspore$macro$62.super.<init>(), it finds an illegal This reference here in the nullary spore case. This does not happen for (_: Unit) => ...-spores.
The text was updated successfully, but these errors were encountered:
This test does not compile:
If the outer nullary spore is replaced by
Spore[Unit, ...]
as below, it compiles:In both cases,
traverser.traverse(body)
(here) is called when checking the outer spore. In both cases, the value ofbody
is a tree that looks like (something alpha-convertible to) this when printed withshowRaw
:The difference is that when the
traverser
goes through the constructor callanonspore$macro$62.super.<init>()
, it finds an illegalThis
reference here in the nullary spore case. This does not happen for(_: Unit) => ...
-spores.The text was updated successfully, but these errors were encountered: