return isinstance(target, (JarLibrary, JvmTarget))
def setup_repl_session(self, targets):
tools_classpath = self.tool_classpath("scala-repl")
return self.classpath(targets, classpath_prefix=tools_classpath)
def launch_repl(self, classpath):
// The scala repl requires -Dscala.usejavacp=true since Scala 2.8 when launching in the way
After Change
return isinstance(target, (JarLibrary, JvmTarget))
def setup_repl_session(self, targets):
return self.classpath(targets, classpath_prefix=self.tool_classpath("scala-repl"))
def launch_repl(self, classpath):
// The scala repl requires -Dscala.usejavacp=true since Scala 2.8 when launching in the way