- When you passed multiple values to
yieldAsync
, it used to construct a tuple and yield that tuple. This behavior has been deprecated. Please parenthize your values yourself.
It was a bad idea from the start. Regular yield
statement in Nim does not accept multiple values—why should we? A DSL should mimic the syntax and semantics as close as possible. Being more permissive is still a deviation from the original, which increases cognitive load.
To clarify: yieldAsync
itself is not deprecated; only its many-argument overload is.