Skip to content

Commit

Permalink
Merge pull request #2151 from scalacenter/sip64-given
Browse files Browse the repository at this point in the history
use latest scalameta for better SIP-64 support
  • Loading branch information
bjaglin authored Dec 28, 2024
2 parents a18fe12 + cc931d3 commit 69a3e10
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ object Dependencies {
val metaconfigV = "0.14.0"
val nailgunV = "0.9.1"
val scalaXmlV = "2.2.0"
val scalametaV = "4.12.2"
val scalametaV = "4.12.3"
val scalatagsV = "0.13.1"
val scalatestV = "3.2.19"
val munitV = "1.0.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ trait Order[T]:
extension (values: Seq[T]) def toSorted: Seq[T] = ???
def compare(x: T, y: T): Int

given List[Int] => Object = new:
def foo() = 1

given Order[Int]:
def compare(x: Int, y: Int) = ???

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ trait Order[T]:
extension (values: Seq[T]) def toSorted: Seq[T] = ???
def compare(x: T, y: T): Int

given List[Int] => Object = new:
def foo(): Int = 1

given Order[Int]:
def compare(x: Int, y: Int): Int = ???

Expand Down

0 comments on commit 69a3e10

Please sign in to comment.