mirror of
https://github.com/janet-lang/janet
synced 2025-06-17 22:14:13 +00:00
More test cases.
This commit is contained in:
parent
2d54e88e74
commit
8c90a12e0f
@ -939,6 +939,12 @@
|
|||||||
(defn case-3 [&]
|
(defn case-3 [&]
|
||||||
(def x (break (do (foo)))))
|
(def x (break (do (foo)))))
|
||||||
(bytecode-roundtrip case-3)
|
(bytecode-roundtrip case-3)
|
||||||
|
(defn case-4 [&]
|
||||||
|
(def x (break (break (foo)))))
|
||||||
|
(bytecode-roundtrip case-4)
|
||||||
|
(defn case-4 [&]
|
||||||
|
(def x (break (break (break)))))
|
||||||
|
(bytecode-roundtrip case-4)
|
||||||
|
|
||||||
# Debug bytecode of these functions
|
# Debug bytecode of these functions
|
||||||
# (pp (disasm case-1))
|
# (pp (disasm case-1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user