-- Error: ../new/test.scala:7:23 -----------------------------------------------
7 | summon[Dummy ?=> Foo] // fails
| ^
|no implicit argument of type (Dummy) ?=> Foo was found for parameter x of method summon in object Predef.
|I found:
|
| foo
|
|But given instance foo does not match type (Dummy) ?=> Foo.
Should compile.