Skip to content

Commit a731660

Browse files
committed
Move all macro tests to macro test folders
We should only execute macro tests on the bootstrap compiler.
1 parent e7fa5dc commit a731660

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+0
-33
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/pos/i10107c.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
inline def isTrue: Boolean = true
42

53
inline def oneOf(): String = {

tests/pos/i11184a.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
inline def isTrue: Boolean = true
42
inline def oneOf: String = inline if isTrue then "foo" else "bar"
53
def test1 = oneOf

tests/pos/i11184b.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
inline def isTrue(): Boolean = true
42
inline def oneOf: String = inline if isTrue() then "foo" else "bar"
53
def test1 = oneOf

tests/pos/i11184c.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Foo:
42
inline def isTrue: Boolean = true
53
inline def oneOf: String = inline if Foo.isTrue then "foo" else "bar"

tests/pos/i11184d.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
inline def isTrue: Boolean = true
42
transparent inline def oneOf: Any = inline if isTrue then isTrue else "bar"
53
def test1 = oneOf

tests/pos/i12958.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted.*
2-
31
package mylib:
42
object Export:
53
transparent inline def exported: Any = 1

tests/run/i12052/MirrorType.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import scala.quoted._
21
import scala.deriving._
32
import scala.compiletime.{erasedValue, constValue, summonFrom, summonInline}
43

tests/run/i8577a.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577b.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577c.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577d.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577e.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577f.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577g.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577h.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/i8577i.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Macro:
42
opaque type StrCtx = StringContext
53
def apply(ctx: StringContext): StrCtx = ctx

tests/run/whitebox-inline.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import scala.quoted._
2-
31
object Test {
42
def main(args: Array[String]): Unit = {
53
val a: Int = blackbox

0 commit comments

Comments
 (0)