133 reject bare const decl dot k

✓ Passing This code compiles and runs correctly.

Code

input.k

Frontend must reject with:

CONTAINS ImplTargetNotAbstract

Error Verification

Actual Compiler Output

error: ImplTargetNotAbstract
/Users/larsde/src/koru/src/validate_abstract_impl.zig:219:17: 0x104ba2deb in validateImplementations (koruc)
                return ValidationError.ImplTargetNotAbstract;
                ^
/Users/larsde/src/koru/src/validate_abstract_impl.zig:74:9: 0x104ba340f in validate (koruc)
        try validator.validateImplementations();
        ^
/Users/larsde/src/koru/src/main.zig:7127:5: 0x104cf1863 in main (koruc)
    try validate_abstract_impl.AbstractImplValidator.validate(parse_allocator, source_file.items);
    ^

Flows

subflow ~ usize click a branch to expand · @labels scroll to their anchor
500000;
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "hi")

Test Configuration

MUST_FAIL