Skip to content

Commit 3e17e9c

Browse files
committed
remove directives not needed for compilation
1 parent 297c88c commit 3e17e9c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

tests/neg/16463.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using scala "3.2.1"
1+
//!> using scala "3.2.1"
22

33
import scala.compiletime.ops.int._
44

tests/neg/i19320.scala

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//> using scala "3.3.1"
2-
//> using dep org.http4s::http4s-ember-client:1.0.0-M40
3-
//> using dep org.http4s::http4s-ember-server:1.0.0-M40
4-
//> using dep org.http4s::http4s-dsl:1.0.0-M40
1+
//!> using scala "3.3.1"
2+
//!> using dep org.http4s::http4s-ember-client:1.0.0-M40
3+
//!> using dep org.http4s::http4s-ember-server:1.0.0-M40
4+
//!> using dep org.http4s::http4s-dsl:1.0.0-M40
55

66
//import cats.effect.*
77
//import cats.implicits.*

tests/neg/i21696.check

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
|---------------------------------------------------------------------------------------------------------------------
66
| Explanation (enabled by `-explain`)
77
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
8-
| Referencing `T` inside a quoted expression requires a `scala.quoted.Type[T]` to be in scope.
8+
| Referencing `T` inside a quoted expression requires a `scala.quoted.Type[T]` to be in scope.
99
| Since Scala is subject to erasure at runtime, the type information will be missing during the execution of the code.
10-
| `scala.quoted.Type[T]` is therefore needed to carry `T`'s type information into the quoted code.
11-
| Without an implicit `scala.quoted.Type[T]`, the type `T` cannot be properly referenced within the expression.
10+
| `scala.quoted.Type[T]` is therefore needed to carry `T`'s type information into the quoted code.
11+
| Without an implicit `scala.quoted.Type[T]`, the type `T` cannot be properly referenced within the expression.
1212
| To resolve this, ensure that a `scala.quoted.Type[T]` is available, either through a context-bound or explicitly.
1313
---------------------------------------------------------------------------------------------------------------------
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using scala 3.6.0-RC1-bin-SNAPSHOT
1+
//!> using scala 3.6.0-RC1-bin-SNAPSHOT
22

33
import language.experimental.captureChecking
44

@@ -8,4 +8,4 @@ def run[Cap^](f: Box[Cap]^{Cap^} => Unit): Box[Cap]^{Cap^} = ???
88

99
def main() =
1010
val b = run(_ => ())
11-
// val b = run[caps.CapSet](_ => ()) // this compiles
11+
// val b = run[caps.CapSet](_ => ()) // this compiles

0 commit comments

Comments
 (0)