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
The API doc for scala.Dynamic reads:
"[...] calls x.meth(args) [... are ...] rewritten to x.applyDynamic("meth", args)."
While they are actually rewritten to x.applyDynamic("meth")(args).
(I'm setting Priority to Critical because it's as bad as a doc bug can be -- took me quite a while to figure out, and I'm not sure I would have been able to guess without access to snippets out there or the compiler's source; apologies if I'm breaking policy or custom).
The text was updated successfully, but these errors were encountered:
@jsalvata said:
Following discussion in scala-internals, it is unclear whether it is better to make the docu match the implementation or the reverse. I'm closing this bug -- I'll reopen if fixing the docs turns out to be the best course of action.
The API doc for scala.Dynamic reads:
"[...] calls x.meth(args) [... are ...] rewritten to x.applyDynamic("meth", args)."
While they are actually rewritten to x.applyDynamic("meth")(args).
(I'm setting Priority to Critical because it's as bad as a doc bug can be -- took me quite a while to figure out, and I'm not sure I would have been able to guess without access to snippets out there or the compiler's source; apologies if I'm breaking policy or custom).
The text was updated successfully, but these errors were encountered: