File tree Expand file tree Collapse file tree 11 files changed +1
-15
lines changed Expand file tree Collapse file tree 11 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ import scala.quoted._
2
2
3
3
import dotty .tools .dotc .quoted .Toolbox ._
4
4
5
-
6
5
object Macros {
7
6
8
7
inline def assert (expr : => Boolean ): Unit =
9
- ~ assertImpl('(expr))
8
+ ~ assertImpl('(expr))
10
9
11
10
def assertImpl (expr : Expr [Boolean ]) =
12
11
' { if ! (~ expr) then throw new AssertionError (s " failed assertion: ${~ showExpr(expr)}" ) }
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty .TopLevelSplice
5
4
import scala .tasty .Tasty
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty ._
5
4
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty ._
5
4
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty .TopLevelSplice
5
4
import scala .tasty .Tasty
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty ._
5
4
import scala .tasty .util ._
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty ._
5
4
import scala .tasty .util .TreeTraverser
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
- import dotty .tools .dotc .quoted .Toolbox ._
3
2
4
3
import scala .tasty ._
5
4
import scala .tasty .util .TreeTraverser
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
2
3
- import dotty .tools .dotc .quoted .Toolbox ._
4
-
5
3
import scala .tasty ._
6
4
7
5
class LineNumber (val value : Int ) {
Original file line number Diff line number Diff line change 1
1
import scala .quoted ._
2
2
3
- import dotty .tools .dotc .quoted .Toolbox ._
4
-
5
3
import scala .tasty ._
6
4
7
5
case class Location (owners : List [String ])
You can’t perform that action at this time.
0 commit comments