Validate module metadata to be an object (#2357)

This commit is contained in:
itchyny authored and GitHub committed 2023-06-28 17:59:46 +09:00
1 parent 5dacc6b3a1
commit 6d694a4a58
7 files changed
+1702 -1389

No files matched your search

+4
View File
@@ -1495,6 +1495,10 @@ null
module (.+1); 0
jq: error: Module metadata must be constant at <top-level>, line 1:
%%FAIL
module []; 0
jq: error: Module metadata must be an object at <top-level>, line 1:
%%FAIL
include "a" (.+1); 0
jq: error: Module metadata must be constant at <top-level>, line 1: