Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 44s
Bug: dl-magic-query crashed with cryptic "rest: 1 list arg" when the goal argument was a string, number, or arbitrary dict. The first thing the function does is dl-rel-name + dl-adorn-goal, both of which assume a positive-literal list shape. Fix: explicit shape check up front. A goal must be a non-empty list whose first element is a symbol. Otherwise raise with a clear diagnostic. Built-in / aggregate / negation dispatch (the fall-back to dl-query) is unchanged. 2 new magic tests cover string and bare-dict goal rejection.
21 lines
775 B
JSON
21 lines
775 B
JSON
{
|
|
"lang": "datalog",
|
|
"total_passed": 255,
|
|
"total_failed": 0,
|
|
"total": 255,
|
|
"suites": [
|
|
{"name":"tokenize","passed":29,"failed":0,"total":29},
|
|
{"name":"parse","passed":22,"failed":0,"total":22},
|
|
{"name":"unify","passed":28,"failed":0,"total":28},
|
|
{"name":"eval","passed":38,"failed":0,"total":38},
|
|
{"name":"builtins","passed":23,"failed":0,"total":23},
|
|
{"name":"semi_naive","passed":8,"failed":0,"total":8},
|
|
{"name":"negation","passed":10,"failed":0,"total":10},
|
|
{"name":"aggregates","passed":20,"failed":0,"total":20},
|
|
{"name":"api","passed":20,"failed":0,"total":20},
|
|
{"name":"magic","passed":36,"failed":0,"total":36},
|
|
{"name":"demo","passed":21,"failed":0,"total":21}
|
|
],
|
|
"generated": "2026-05-10T21:13:14+00:00"
|
|
}
|