Skip to content

Commit f75c214

Browse files
committed
Restructuring
1 parent 8c97458 commit f75c214

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

tests/run-with-compiler/staged-streams.scala renamed to tests/pos/staged-streams/staged-streams_1.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
package streams
2+
13
import dotty.tools.dotc.quoted.Toolbox._
24
import scala.quoted._
35

4-
trait StagedStreams {
6+
object StagedStreams {
57

68
// TODO: remove as it exists in Quoted Lib
79
sealed trait Var[T] {
@@ -109,3 +111,5 @@ trait StagedStreams {
109111
}
110112
}
111113

114+
115+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package streams
2+
3+
import dotty.tools.dotc.quoted.Toolbox._
4+
import scala.quoted._
5+
6+
object Test {
7+
8+
def test1() = StagedStreams.Stream.of('{Array(1,2,3)})
9+
}

0 commit comments

Comments
 (0)