Files
Mark Birger 83ce8c3580 Fix RVM evaluation of default-only rules (#664)
Default-only rules (e.g., `default deny := true` with no conditional body)
returned Undefined in the RVM instead of the default value.

Compiler:
- compute_rule_type: return Complete when rule exists only in default_rules map
- compile_worklist_rule: emit register slots and data-tree entries for
  default-only rules (else branch)

VM:
- execute_call_rule_common + execute_call_rule_suspendable: check
  default_literal_index before returning Undefined when definitions is empty

Tests:
- 3 new RVM cases (default_rules.yaml): bool, object, entry-point
- 3 new interpreter cases (default/basic.yaml): matching coverage

Co-authored-by: Mark Birger <markbirger@microsoft.com>
2026-04-07 11:38:50 -05:00
..
2023-02-11 06:37:04 +05:30
2023-12-23 11:55:25 -08:00
2023-12-27 17:00:40 -08:00
2023-10-24 10:11:50 -07:00
2023-10-24 10:11:50 -07:00
2024-04-22 07:41:35 -07:00
2024-08-29 09:47:45 -07:00
2023-11-27 10:02:37 -08:00
2024-02-26 17:31:48 -08:00
2023-02-09 19:40:35 +00:00
2023-10-09 14:27:31 -07:00