ScalaNative & ILoop

#1

I was used to create applications by extending ILoop in to order to have an custom & interactive console. I’m using scala 2.12 on the JVM and want to switch to Scala-Native (2.11).
I didn’t manage to find any example; and obviously my code is not 2.11 compliant.

abstract class MyREPL extends ILoop with App {
// …
override def printWelcome: Unit = {
def start: Unit = {
val settings = new Settings
settings.usejavacp.value = true
settings.deprecation.value = true
settings.processArgumentString("-feature -language:implicitConversions -language:dynamics -language:postfixOps")
process(settings)
}
}

object TestConsole extends MyREPL {
start
}