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._
22
33import dotty .tools .dotc .quoted .Toolbox ._
44
5-
65object Macros {
76
87 inline def assert (expr : => Boolean ): Unit =
9- ~ assertImpl('(expr))
8+ ~ assertImpl('(expr))
109
1110 def assertImpl (expr : Expr [Boolean ]) =
1211 ' { if ! (~ expr) then throw new AssertionError (s " failed assertion: ${~ showExpr(expr)}" ) }
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty .TopLevelSplice
54import scala .tasty .Tasty
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty ._
54
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty ._
54
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty .TopLevelSplice
54import scala .tasty .Tasty
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty ._
54import scala .tasty .util ._
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty ._
54import scala .tasty .util .TreeTraverser
Original file line number Diff line number Diff line change 11import scala .quoted ._
2- import dotty .tools .dotc .quoted .Toolbox ._
32
43import scala .tasty ._
54import scala .tasty .util .TreeTraverser
Original file line number Diff line number Diff line change 11import scala .quoted ._
22
3- import dotty .tools .dotc .quoted .Toolbox ._
4-
53import scala .tasty ._
64
75class LineNumber (val value : Int ) {
Original file line number Diff line number Diff line change 11import scala .quoted ._
22
3- import dotty .tools .dotc .quoted .Toolbox ._
4-
53import scala .tasty ._
64
75case class Location (owners : List [String ])
You can’t perform that action at this time.
0 commit comments