File tree 4 files changed +11
-4
lines changed
4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,14 @@ trait HasChisel extends ScalaModule {
13
13
def chiselPluginJar : T [Option [PathRef ]]
14
14
15
15
override def scalacOptions = T (
16
- super .scalacOptions() ++ chiselPluginJar().map(path => s " -Xplugin: ${path.path}" ) ++ Seq (" -Ymacro-annotations" )
16
+ super .scalacOptions() ++ chiselPluginJar().map(path => s " -Xplugin: ${path.path}" ) ++ Seq (
17
+ " -Ymacro-annotations" ,
18
+ " -deprecation" ,
19
+ " -feature" ,
20
+ " -language:reflectiveCalls" ,
21
+ " -language:existentials" ,
22
+ " -language:implicitConversions"
23
+ )
17
24
)
18
25
19
26
override def scalacPluginClasspath : T [Agg [PathRef ]] = T (super .scalacPluginClasspath() ++ chiselPluginJar())
Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ object GCDMain extends SerializableModuleElaborator {
43
43
os.write.over(targetDir / s " ${topName}.anno.json " , annos)
44
44
}
45
45
46
- def main (args : Array [String ]): Unit = ParserForMethods (this ).runOrExit(args)
46
+ def main (args : Array [String ]): Unit = ParserForMethods (this ).runOrExit(args.toIndexedSeq )
47
47
}
Original file line number Diff line number Diff line change @@ -44,5 +44,5 @@ object GCDFormalMain extends SerializableModuleElaborator {
44
44
os.write.over(targetDir / s " ${topName}.anno.json " , annos)
45
45
}
46
46
47
- def main (args : Array [String ]): Unit = ParserForMethods (this ).runOrExit(args)
47
+ def main (args : Array [String ]): Unit = ParserForMethods (this ).runOrExit(args.toIndexedSeq )
48
48
}
Original file line number Diff line number Diff line change @@ -70,5 +70,5 @@ object GCDTestBenchMain extends SerializableModuleElaborator {
70
70
os.write.over(targetDir / s " ${topName}.anno.json " , annos)
71
71
}
72
72
73
- def main (args : Array [String ]): Unit = ParserForMethods (this ).runOrExit(args)
73
+ def main (args : Array [String ]): Unit = ParserForMethods (this ).runOrExit(args.toIndexedSeq )
74
74
}
You can’t perform that action at this time.
0 commit comments