You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add patch for undefined behavior with object $ (#19705)
Add an ad-hoc patch to make it possible to use the broken `object $`
definitions in
https://github.com/com-lihaoyi/Ammonite/blob/main/amm/interp/api/src/main/scala/ammonite/Stubs.scala.
This is a temporary patch while these definitions get deprecated. There
is not guarantee that the semantics of these objects are correct. There
is also no way to adapt the spec to allow there definition without
breaking the language. For example consider `object $` and `object $$`,
how would we know if the `$$.class` is the class of `$$` or the module
class of `$`. We need to know this before we read the file.
Closes#19702
0 commit comments