Added closure related test cases #873
While all but one test cases failed because voc currently doesn't support closure in generator, class and method context yet, I want to highlight 1 particular test case which isn't addressed in voc's current closure creation logic. As pointed out by @freakboy3742 , consider the following:
CPython3 will print
As @freakboy3742 mentioned, current implementation of closure in voc may require some modifications /rework to allow closure to acquire the 'latest' value of closure variable.
The text was updated successfully, but these errors were encountered: