mirror of
https://github.com/janet-lang/janet
synced 2025-10-25 20:57:40 +00:00
More test cases.
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user