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
_root_
Scala uses _root_ to mark the start of the namespace: https://docs.scala-lang.org/style/naming-conventions.html#root
Stainless stumbles over it with the following error message: _root_ cannot be imported
_root_ cannot be imported
The text was updated successfully, but these errors were encountered:
I think the error message comes from the Scala compiler (for instance it appears in scala/bug#6217 and scala/bug#9125)
Could you try running scalac on your example as shown here: https://epfl-lara.github.io/stainless/installation.html#running-code-with-stainless-dependencies
scalac
scalac -d ~/.scala_objects $(find /path/to/Stainless/frontends/library/stainless/ -name "*.scala") File1.scala ... File_n.scala
Sorry, something went wrong.
My bad. You can't actually import things from the root namespace directly in scala. Sorry :)
No branches or pull requests
Scala uses
_root_
to mark the start of the namespace:https://docs.scala-lang.org/style/naming-conventions.html#root
Stainless stumbles over it with the following error message:
_root_ cannot be imported
The text was updated successfully, but these errors were encountered: