Skip to content

Commit 73c6e88

Browse files
committed
Adjust compilation tests to backported changes
1 parent d439b58 commit 73c6e88

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

tests/neg/scala-uri.check

+2-2
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

+1
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

+1-1
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)