1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Fix to not bypass finally on continue, break, return, etc.

This commit is contained in:
Robert Krimen
2012-11-06 17:58:31 -08:00
parent a4de862caa
commit d9765234a4
4 changed files with 15 additions and 5 deletions

View File

@@ -583,7 +583,7 @@ func TestTryFinally(t *testing.T) {
}
while(!abc && def < 10)
def;
`, "10")
`, "1")
}
func TestTryCatch(t *testing.T) {