Respond to an unknown method call: Difference between revisions

Content added Content deleted
Line 859: Line 859:
What is baz?</pre>
What is baz?</pre>
=={{header|Nim}}==
=={{header|Nim}}==
Nim statically checks that all methods exist, so this is generally not applicable.
This is only possible using an experimental Nim feature
However, it's possible to fake this behaviour using an experimental Nim feature
<lang nim>{.experimental:"dotOperators".}
<lang nim>{.experimental:"dotOperators".}
from strutils import join
from strutils import join