Commit 75efe41e authored by Romain Reuillon's avatar Romain Reuillon
Browse files

[Plugin] enh: type outputs in scala code

parent 480f75e2
Pipeline #1175 passed with stage
in 8 minutes and 55 seconds
......@@ -258,7 +258,7 @@ object ScalaCompilation {
def wrapOutput =
s"""
|scala.jdk.CollectionConverters.MapHasAsJava(Map[String, Any]( ${outputs.toSeq.map(p ⇒ s""" "${p.name}" -> ${p.name}""").mkString(",")} )).asJava
|scala.jdk.CollectionConverters.MapHasAsJava(Map[String, Any]( ${outputs.toSeq.map(p ⇒ s""" "${p.name}" -> (${p.name}: ${toTypeString(p.`type`)})""").mkString(",")} )).asJava
|""".stripMargin
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment