标量REPL

时间:2018-10-16 14:08:23

标签: scala sbt read-eval-print-loop scala-native

我尝试使用ScalaNative制作自定义REPL失败,但失败了。 实际上,代码正在编译,但是在sbt中链接(nativeLink命令)时出现错误:

[error] cannot link: @scala.reflect.internal.settings.MutableSettings$SettingValue
[error] cannot link: @scala.reflect.internal.settings.MutableSettings$SettingValue::value$underscore$=_java.lang.Object_unit
[error] cannot link: @scala.tools.nsc.Settings
[error] cannot link: @scala.tools.nsc.Settings::init
[error] cannot link: @scala.tools.nsc.interpreter.ILoop
[error] cannot link: @scala.tools.nsc.interpreter.ILoop::init
[error] cannot link: @scala.tools.nsc.interpreter.ILoop::process_scala.tools.nsc.Settings_bool
[error] cannot link: @scala.tools.nsc.interpreter.LoopCommands
[error] cannot link: @scala.tools.nsc.settings.AbsSettings$AbsSetting
[error] cannot link: @scala.tools.nsc.settings.MutableSettings
[error] cannot link: @scala.tools.nsc.settings.MutableSettings::processArgumentString_java.lang.String_scala.Tuple2
[error] cannot link: @scala.tools.nsc.settings.StandardScalaSettings
[error] cannot link: @scala.tools.nsc.settings.StandardScalaSettings::usejavacp_scala.tools.nsc.settings.AbsSettings$AbsSetting
[error] unable to link
[error] (compile:nativeLink) unable to link

0 个答案:

没有答案