-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.sc
48 lines (44 loc) · 1.58 KB
/
build.sc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import mill._, scalalib._
trait DottyModule extends ScalaModule {
def scalaVersion = "3.1.0"
def scalacOptions = Seq("-Xcheck-macros")
}
object abstractTypeclassBody extends DottyModule
object accessMembersByName extends DottyModule
object defaultParamsInference extends DottyModule
object fullClassName extends DottyModule
object isMemberOfSealedTraitHierarchy extends DottyModule
object macroTypeClassDerivation extends DottyModule
object accessEnclosingParameters extends DottyModule
object outOfScopeMethodCall extends DottyModule
object outOfScopeTypeParam extends DottyModule
object outOfScopeClassConstructor extends DottyModule
object buildingCustomASTs extends DottyModule
object contextParamResolution extends DottyModule
object passVarargsIntoAST extends DottyModule
object primaryConstructor extends DottyModule
object referenceVariableFromOtherExpr extends DottyModule
object reflectionLambda extends DottyModule
object test extends Module {
def all = List(
abstractTypeclassBody,
accessMembersByName,
defaultParamsInference,
fullClassName,
isMemberOfSealedTraitHierarchy,
macroTypeClassDerivation,
accessEnclosingParameters,
outOfScopeMethodCall,
outOfScopeTypeParam,
outOfScopeClassConstructor,
buildingCustomASTs,
contextParamResolution,
passVarargsIntoAST,
primaryConstructor,
referenceVariableFromOtherExpr,
reflectionLambda,
)
def run = T {
T.sequence(all.map(_.run()))
}
}