We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot evaluate any Scala code in ScriptREPL due to error:
-- [E032] Syntax Error: -------------------------------------------------------- 212 |val object : org.scijava.object.DefaultObjectService = { | ^^^^^^ | pattern expected | | longer explanation available when compiling with `-explain` java.lang.ClassNotFoundException: rs$line$0 at dotty.tools.repl.AbstractFileClassLoader.findClass(AbstractFileClassLoader.scala:51) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ...
One of the variables passed from ScriptREPL to ScalaAdaptedScriptEngine is called object leading to internal error in binding variables.
ScalaAdaptedScriptEngine
object
The can be addressed, on Scala side, using name in backticks while binding. In this case Scala variable would be called `object`.
`object`
The text was updated successfully, but these errors were encountered:
Fixed: ScriptREPL is not usable - problem with variables named as Sca…
eb277c8
…la keywords #9
jpsacha
No branches or pull requests
Cannot evaluate any Scala code in ScriptREPL due to error:
One of the variables passed from ScriptREPL to
ScalaAdaptedScriptEngine
is calledobject
leading to internal error in binding variables.The can be addressed, on Scala side, using name in backticks while binding. In this case Scala variable would be called
`object`
.The text was updated successfully, but these errors were encountered: