Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Jan 17, 2025
1 parent 0b4f3ba commit 942d752
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ class InlayHintsSuite extends BaseInlayHintsSuite {
| import quotes.reflect.*
| Type.of[T] match
| case '[f] =>
| val fr/*: TypeRepr<<scala/quoted/Quotes#reflectModule#TypeRepr#>>*/ = TypeRepr.of[T]/*(using evidence$1<<(3:23)>>)*/
| val fr/*: TypeRepr<<scala/quoted/Quotes#reflectModule#TypeRepr#>>*/ = TypeRepr.of[T]/*(using evidence$1<<(3:27)>>)*/
|""".stripMargin
)

Expand Down
2 changes: 1 addition & 1 deletion tests/pos/i20901/Foo.tastycheck
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Trees (98 bytes, starting from <elided base index>):
96: STRINGconst 32 [<elided source file name>]
98:

Positions (73 bytes, starting from <elided base index>):
Positions (75 bytes, starting from <elided base index>):
lines: 7
line sizes:
38, 0, 23, 0, 10, 41, 0
Expand Down
2 changes: 1 addition & 1 deletion tests/semanticdb/expect/Synthetic.expect.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Synthetic/*<-example::Synthetic#*/ {
null.asInstanceOf/*->scala::Any#asInstanceOf().*/[Int/*->scala::Int#*/ => Int/*->scala::Int#*/](2)
}

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]*/] }
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]*/] }

class F/*<-example::Synthetic#F#*/
implicit val ordering/*<-example::Synthetic#ordering.*/: Ordering/*->scala::package.Ordering#*/[F/*->example::Synthetic#F#*/] = ???/*->scala::Predef.`???`().*/
Expand Down
4 changes: 2 additions & 2 deletions tests/semanticdb/metac.expect
Original file line number Diff line number Diff line change
Expand Up @@ -2734,7 +2734,7 @@ Occurrences:
[17:9..17:10): U <- example/Methods#m7().[U]
[17:12..17:20): Ordering -> scala/math/Ordering#
[17:12..17:20): Ordering -> example/Methods#m7().[U]
[17:12..17:12): <- example/Methods#m7().(evidence$1)
[17:20..17:20): <- example/Methods#m7().(evidence$1)
[17:22..17:23): c <- example/Methods#m7().(c)
[17:25..17:32): Methods -> example/Methods#
[17:33..17:34): T -> example/Methods#[T]
Expand Down Expand Up @@ -3668,9 +3668,9 @@ Occurrences:
[32:8..32:9): J <- example/Synthetic#J#
[32:9..32:9): <- example/Synthetic#J#`<init>`().
[32:10..32:11): T <- example/Synthetic#J#[T]
[32:13..32:13): <- example/Synthetic#J#evidence$1.
[32:13..32:21): Manifest -> scala/Predef.Manifest#
[32:13..32:21): Manifest -> example/Synthetic#J#[T]
[32:21..32:21): <- example/Synthetic#J#evidence$1.
[32:29..32:32): arr <- example/Synthetic#J#arr.
[32:35..32:40): Array -> scala/Array.
[32:41..32:46): empty -> scala/Array.empty().
Expand Down

0 comments on commit 942d752

Please sign in to comment.