@@ -689,7 +689,7 @@ class Router [C <: Context](val c: C) {
689
689
case Some (s) => q " scala.Some( $s) "
690
690
}
691
691
val argSig = q """
692
- ammonite.main .Router.ArgSig(
692
+ io.github.mandar2812.dynaml.repl .Router.ArgSig(
693
693
${arg.name.toString},
694
694
${docUnwrappedType.toString + (if (vararg) " *" else " " )},
695
695
$docTree,
@@ -699,13 +699,13 @@ class Router [C <: Context](val c: C) {
699
699
700
700
val reader =
701
701
if (vararg) q """
702
- ammonite.main .Router.readVarargs[ $docUnwrappedType](
702
+ io.github.mandar2812.dynaml.repl .Router.readVarargs[ $docUnwrappedType](
703
703
$argSig,
704
704
$extrasSymbol,
705
705
implicitly[scopt.Read[ $docUnwrappedType]].reads(_)
706
706
)
707
707
""" else q """
708
- ammonite.main .Router.read[ $docUnwrappedType](
708
+ io.github.mandar2812.dynaml.repl .Router.read[ $docUnwrappedType](
709
709
$argListSymbol,
710
710
$default,
711
711
$argSig,
@@ -727,7 +727,7 @@ class Router [C <: Context](val c: C) {
727
727
}.unzip
728
728
729
729
q """
730
- ammonite.main .Router.EntryPoint(
730
+ io.github.mandar2812.dynaml.repl .Router.EntryPoint(
731
731
${meth.name.toString},
732
732
scala.Seq(.. $argSigs),
733
733
${methodDoc match {
@@ -736,9 +736,9 @@ class Router [C <: Context](val c: C) {
736
736
}},
737
737
${varargs.contains(true )},
738
738
( $argListSymbol: Map[String, String], $extrasSymbol: Seq[String]) =>
739
- ammonite.main .Router.validate(Seq(.. $readArgs)) match{
740
- case ammonite.main .Router.Result.Success(List(.. $argNames)) =>
741
- ammonite.main .Router.Result.Success( $target. ${meth.name.toTermName}(.. $argNameCasts))
739
+ io.github.mandar2812.dynaml.repl .Router.validate(Seq(.. $readArgs)) match{
740
+ case io.github.mandar2812.dynaml.repl .Router.Result.Success(List(.. $argNames)) =>
741
+ io.github.mandar2812.dynaml.repl .Router.Result.Success( $target. ${meth.name.toTermName}(.. $argNameCasts))
742
742
case x => x
743
743
}
744
744
)
@@ -795,8 +795,8 @@ object Scripts {
795
795
extraCode = Util .normalizeNewlines(
796
796
s """
797
797
|val $$ routesOuter = this
798
- |object $$ routes extends scala.Function0[scala.Seq[ammonite.main .Router.EntryPoint]]{
799
- | def apply() = ammonite.main .Router.generateRoutes[ $$ routesOuter.type]( $$ routesOuter)
798
+ |object $$ routes extends scala.Function0[scala.Seq[io.github.mandar2812.dynaml.repl .Router.EntryPoint]]{
799
+ | def apply() = io.github.mandar2812.dynaml.repl .Router.generateRoutes[ $$ routesOuter.type]( $$ routesOuter)
800
800
|}
801
801
""" .stripMargin
802
802
),
0 commit comments