Skip to content

Commit 78e8ec5

Browse files
committed
Adjust compilation tests to backported changes
1 parent 127d64b commit 78e8ec5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

tests/neg/scala-uri.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
-- [E172] Type Error: tests/neg/scala-uri.scala:30:59 ------------------------------------------------------------------
2-
30 |@main def Test = summon[QueryKeyValue[(String, None.type)]] // error
1+
-- [E172] Type Error: tests/neg/scala-uri.scala:31:59 ------------------------------------------------------------------
2+
31 |@main def Test = summon[QueryKeyValue[(String, None.type)]] // error
33
| ^
44
|No best given instance of type QueryKeyValue[(String, None.type)] was found for parameter x of method summon in object Predef.
55
|I found:

tests/neg/scala-uri.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//> using options -source:3.6
12
import scala.language.implicitConversions
23

34
trait QueryKey[A]

tests/pos/i13044.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using options -Xmax-inlines:33
1+
//> using options -Xmax-inlines:35
22

33
import scala.deriving.Mirror
44
import scala.compiletime._

0 commit comments

Comments
 (0)