mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-30 23:23:07 +00:00 
			
		
		
		
	Fix #1341.
This commit is contained in:
		| @@ -2127,6 +2127,7 @@ | |||||||
|      'upscope expandall}) |      'upscope expandall}) | ||||||
|  |  | ||||||
|   (defn dotup [t] |   (defn dotup [t] | ||||||
|  |     (if (= nil (next t)) (break ())) | ||||||
|     (def h (in t 0)) |     (def h (in t 0)) | ||||||
|     (def s (in specs h)) |     (def s (in specs h)) | ||||||
|     (def entry (or (dyn h) {})) |     (def entry (or (dyn h) {})) | ||||||
|   | |||||||
| @@ -968,4 +968,8 @@ | |||||||
|   (identity a)) |   (identity a)) | ||||||
| (assert (= [1 2 3] (regress-1330)) "regression 1330") | (assert (= [1 2 3] (regress-1330)) "regression 1330") | ||||||
|  |  | ||||||
|  | # Issue 1341 | ||||||
|  | (assert (= () '() (macex '())) "macex ()") | ||||||
|  | (assert (= '[] (macex '[])) "macex []") | ||||||
|  |  | ||||||
| (end-suite) | (end-suite) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose