Skip to content

Commit 942d752

Browse files
committed
adjust tests
1 parent 0b4f3ba commit 942d752

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

presentation-compiler/test/dotty/tools/pc/tests/inlayHints/InlayHintsSuite.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
898898
| import quotes.reflect.*
899899
| Type.of[T] match
900900
| case '[f] =>
901-
| val fr/*: TypeRepr<<scala/quoted/Quotes#reflectModule#TypeRepr#>>*/ = TypeRepr.of[T]/*(using evidence$1<<(3:23)>>)*/
901+
| val fr/*: TypeRepr<<scala/quoted/Quotes#reflectModule#TypeRepr#>>*/ = TypeRepr.of[T]/*(using evidence$1<<(3:27)>>)*/
902902
|""".stripMargin
903903
)
904904

tests/pos/i20901/Foo.tastycheck

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Trees (98 bytes, starting from <elided base index>):
9292
96: STRINGconst 32 [<elided source file name>]
9393
98:
9494

95-
Positions (73 bytes, starting from <elided base index>):
95+
Positions (75 bytes, starting from <elided base index>):
9696
lines: 7
9797
line sizes:
9898
38, 0, 23, 0, 10, 41, 0

tests/semanticdb/expect/Synthetic.expect.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Synthetic/*<-example::Synthetic#*/ {
3030
null.asInstanceOf/*->scala::Any#asInstanceOf().*/[Int/*->scala::Int#*/ => Int/*->scala::Int#*/](2)
3131
}
3232

33-
class J/*<-example::Synthetic#J#*/[T/*<-example::Synthetic#J#[T]*/: /*<-example::Synthetic#J#evidence$1.*/Manifest/*->scala::Predef.Manifest#*//*->example::Synthetic#J#[T]*/] { val arr/*<-example::Synthetic#J#arr.*/ = Array/*->scala::Array.*/.empty/*->scala::Array.empty().*/[T/*->example::Synthetic#J#[T]*/] }
33+
class J/*<-example::Synthetic#J#*/[T/*<-example::Synthetic#J#[T]*/: Manifest/*->scala::Predef.Manifest#*//*->example::Synthetic#J#[T]*//*<-example::Synthetic#J#evidence$1.*/] { val arr/*<-example::Synthetic#J#arr.*/ = Array/*->scala::Array.*/.empty/*->scala::Array.empty().*/[T/*->example::Synthetic#J#[T]*/] }
3434

3535
class F/*<-example::Synthetic#F#*/
3636
implicit val ordering/*<-example::Synthetic#ordering.*/: Ordering/*->scala::package.Ordering#*/[F/*->example::Synthetic#F#*/] = ???/*->scala::Predef.`???`().*/

tests/semanticdb/metac.expect

+2-2
Original file line numberDiff line numberDiff line change
@@ -2734,7 +2734,7 @@ Occurrences:
27342734
[17:9..17:10): U <- example/Methods#m7().[U]
27352735
[17:12..17:20): Ordering -> scala/math/Ordering#
27362736
[17:12..17:20): Ordering -> example/Methods#m7().[U]
2737-
[17:12..17:12): <- example/Methods#m7().(evidence$1)
2737+
[17:20..17:20): <- example/Methods#m7().(evidence$1)
27382738
[17:22..17:23): c <- example/Methods#m7().(c)
27392739
[17:25..17:32): Methods -> example/Methods#
27402740
[17:33..17:34): T -> example/Methods#[T]
@@ -3668,9 +3668,9 @@ Occurrences:
36683668
[32:8..32:9): J <- example/Synthetic#J#
36693669
[32:9..32:9): <- example/Synthetic#J#`<init>`().
36703670
[32:10..32:11): T <- example/Synthetic#J#[T]
3671-
[32:13..32:13): <- example/Synthetic#J#evidence$1.
36723671
[32:13..32:21): Manifest -> scala/Predef.Manifest#
36733672
[32:13..32:21): Manifest -> example/Synthetic#J#[T]
3673+
[32:21..32:21): <- example/Synthetic#J#evidence$1.
36743674
[32:29..32:32): arr <- example/Synthetic#J#arr.
36753675
[32:35..32:40): Array -> scala/Array.
36763676
[32:41..32:46): empty -> scala/Array.empty().

0 commit comments

Comments
 (0)