witty-crayon-22786
01/03/2019, 12:07 AMaloof-angle-91616
01/03/2019, 12:08 AMyield
is better and wasn't making clear the progress of everythingwitty-crayon-22786
01/03/2019, 12:09 AMyield Get(...)
and yield AnythingElse
is keyreturn
for all LHSless yields. and Daniel's suggestion was something elsealoof-angle-91616
01/03/2019, 12:10 AMwitty-crayon-22786
01/03/2019, 12:10 AMaloof-angle-91616
01/03/2019, 12:10 AMwitty-crayon-22786
01/03/2019, 12:11 AMaloof-angle-91616
01/03/2019, 12:11 AMwitty-crayon-22786
01/03/2019, 12:12 AMaloof-angle-91616
01/03/2019, 12:13 AMA yield in an @rule without an assignment is equivalent to a return, and we
currently require that it comes at the end of a series of statements.
Use `_ = yield Get(...)` if you wish to yield control to the engine and discard the result.
witty-crayon-22786
01/03/2019, 12:14 AMaloof-angle-91616
01/03/2019, 12:14 AMwitty-crayon-22786
01/03/2019, 12:14 AMaloof-angle-91616
01/03/2019, 12:15 AMbody
or orelse
attrsfinally
block which i was about to add a comment forfinally
? i guess that's allowedwitty-crayon-22786
01/03/2019, 12:16 AMaloof-angle-91616
01/03/2019, 12:16 AMwitty-crayon-22786
01/03/2019, 12:16 AMaloof-angle-91616
01/03/2019, 12:18 AMwitty-crayon-22786
01/03/2019, 12:18 AMaloof-angle-91616
01/03/2019, 12:18 AM