Open faucct opened 8 months ago
I guess the real package name gets prefixed by ammonite
:
https://github.com/com-lihaoyi/Ammonite/blob/main/amm/compiler/src/main/scala/ammonite/compiler/DefaultCodeWrapper.scala#L20 https://github.com/com-lihaoyi/Ammonite/blob/main/amm/util/src/main/scala/ammonite/util/Util.scala#L100 https://github.com/com-lihaoyi/Ammonite/blob/89836cd882860fde0b2c6c62a562645e45f9d174/amm/interp/src/main/scala/ammonite/interp/Interpreter.scala#L236
It would be nice to make it customizable or even disable it.
The execution model says that the script files are wrapped in a package object – https://ammonite.io/#ExecutionModel
Despite this, I am unable to access the package-private symbols from the same package:
almond jupyter kernel's cell:
execution error:
Though, I am not sure if the problem is on your side or Almond's. Putting the file three directories higher also does not help.