Skip to content

Commit 94e7824

Browse files
committed
Fix tests/neg/i6762.check
1 parent 4c008f9 commit 94e7824

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/neg/i6762.check

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- [E007] Type Mismatch Error: tests/neg/i6762.scala:5:77 --------------------------------------------------------------
2+
5 |def f(word: String)(given QuoteContext): Expr[Foo[G[String]]] = '{Foo(${Expr(word)})} // error // error
3+
| ^^^^
4+
| Found: (word : String)
5+
| Required: G[String]
6+
-- Error: tests/neg/i6762.scala:5:82 -----------------------------------------------------------------------------------
7+
5 |def f(word: String)(given QuoteContext): Expr[Foo[G[String]]] = '{Foo(${Expr(word)})} // error // error
8+
| ^
9+
|ambiguous implicit arguments: both method StringIsLiftable in object Liftable and method IntIsLiftable in object Liftable match type quoted.Liftable[G[String]] of an implicit parameter of method apply in object Expr

0 commit comments

Comments
 (0)