File tree Expand file tree Collapse file tree 7 files changed +15
-63
lines changed
src-non-bootstrapped/scala Expand file tree Collapse file tree 7 files changed +15
-63
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,21 +15,6 @@ object CompileTime {
15
15
@ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.exprNestedSplice`" )
16
16
def exprNestedSplice [T ](ctx : QuoteContext )(x : ctx.Nested ?=> Expr [T ]): T = ???
17
17
18
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.typeQuote`" )
19
- def typeQuote [T <: AnyKind ]: Type [T ] = ???
20
-
21
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.patternHole`" )
22
- def patternHole [T ]: T = ???
23
-
24
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.patternBindHole`" )
25
- class patternBindHole extends Annotation
26
-
27
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.patternType`" )
28
- class patternType extends Annotation
29
-
30
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.fromAbove`" )
31
- class fromAbove extends Annotation
32
-
33
18
@ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime.quoteTypeTag`" )
34
19
class quoteTypeTag extends Annotation
35
20
Original file line number Diff line number Diff line change @@ -33,4 +33,10 @@ object Expr {
33
33
hasTypeSplices : Boolean , qctx : QuoteContext ): Option [Tup ] =
34
34
throw new Exception (" Non bootstrapped lib" )
35
35
36
+ def `null` : QuoteContext ?=> quoted.Expr [Null ] =
37
+ throw new Exception (" Non bootstrapped lib" )
38
+
39
+ def Unit : QuoteContext ?=> quoted.Expr [Unit ] =
40
+ throw new Exception (" Non bootstrapped lib" )
41
+
36
42
}
Original file line number Diff line number Diff line change 1
1
package scala .quoted
2
2
3
- abstract class Type [T <: AnyKind ] private [scala]:
4
- type `$splice` = T
3
+ import scala .annotation .compileTimeOnly
4
+
5
+ abstract class Type [X <: AnyKind ] private [scala]:
6
+ type T = X
5
7
def unseal (using qctx : QuoteContext ): qctx.tasty.TypeTree
8
+
9
+ object Type :
10
+ @ compileTimeOnly(" Reference to `scala.quoted.Type.apply` was not handled by ReifyQuotes" )
11
+ given apply [T <: AnyKind ] as (QuoteContext ?=> Type [T ]) = ???
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ object MyScalaJSPlugin extends AutoPlugin {
62
62
}
63
63
64
64
object Build {
65
- val referenceVersion = " 0.26 .0-RC1 "
65
+ val referenceVersion = " 0.27 .0-bin-20200819-6e6f67b-NIGHTLY "
66
66
67
67
val baseVersion = " 0.27.0"
68
68
val baseSbtDottyVersion = " 0.4.2"
You can’t perform that action at this time.
0 commit comments