Bob Nystrom
0dedef95e9
Non local returns.
...
"return" statements inside a function which is inside a method will
return from the surrounding method.
The implementation is surprisingly clean. It turns out using an upvalue
for "this", which we already do, give us all the state we need to find
the enclosing method on the stack.
2016-01-23 21:25:58 -08:00
..
2015-09-15 07:46:09 -07:00
2015-11-11 07:55:48 -08:00
2015-09-15 07:46:09 -07:00
2015-10-08 08:06:29 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-11-11 07:55:48 -08:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-03-26 07:17:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-11-11 07:55:48 -08:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-12-22 16:00:50 -08:00
2015-11-11 07:55:48 -08:00
2015-12-08 07:49:37 -08:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2016-01-23 21:25:58 -08:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-11-11 07:55:48 -08:00
2015-09-19 15:19:41 -07:00
2015-09-15 07:46:09 -07:00
2015-10-05 07:44:51 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-10-29 07:38:09 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-10-29 07:38:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00