Created
June 24, 2015 19:05
-
-
Save hoelzro/b5a5a7e368adda3797b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test; | |
plan 1; | |
sub doit() { | |
# removing LEAVE works | |
# removing return works | |
# removing the if True { works | |
# lifting LEAVE out of the if block works | |
# lifting return out of the if block works | |
if True { | |
LEAVE 1; | |
return 'ls'; | |
} | |
} | |
doit(); | |
pass "I should've reached this point"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment