-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Exception occurred while typechecking summon
in nested flatMap
#13497
Labels
Comments
No problem when compiling with |
Yeah can confirm on 3.1.0-RC1 we get the following output: -- Error: sandbox/foo/i13497.scala:10:29 ---------------------------------------
10 | val foo = summon[Foo]
| ^
|no implicit argument of type Foo was found for parameter x of method summon in object Predef.
|I found:
|
| Foo.given_Foo(/* missing */summon[Bar])
|
|But no implicit values were found that match type Bar.
1 error found |
we can still add a regression test for it |
bishabosha
added a commit
to dotty-staging/dotty
that referenced
this issue
Sep 10, 2021
nicolasstucki
added a commit
that referenced
this issue
Sep 10, 2021
fix #13497: add regression test
olsdavis
pushed a commit
to olsdavis/dotty
that referenced
this issue
Apr 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
Scala compiler version 3.0.2 -- Copyright 2002-2021, LAMP/EPFL
Minimized code
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: