Skip to content

build: :emit-c-smoke --no-deps fails in the comptime evaluator after the smoke passes ("generic comptime function expects 1 type argument(s), found 0") #1835

Closed

Description

@ehartford

With --no-deps the build runner is not compiled, so the emit-c-smoke action (build/selfhost.w run_emit_c_smoke_action) runs in the driver's comptime evaluator. Every step of the smoke succeeds (hello, prelude runtime, expect-panic, the collections/hashmap/generic-intrinsic cases and all four test/emit_c fixtures build, run and match — no run captures are left behind), and then the action fails:

error: action target 'emit-c-smoke' failed during comptime evaluation: generic comptime function expects 1 type argument(s), found 0

The same target with its deps (src/main build :emit-c-smoke, the runner compiled natively) prints EMIT-C SMOKE OK and is green.

Reproduced on fix-fill 3fddbec (driver = the seed pinned for the 2026-09-27 seed bump, WITH=$PWD/src/main): remove out/test-graph/emit-c-smoke, run src/main build :emit-c-smoke --no-deps. The error names no node; ComptimeEval.w:7846 (eval_fn_call) raises it when a generic function is called without explicit type arguments, so the call the evaluator cannot infer is after the fixture loop (print("EMIT-C SMOKE OK") is the only statement left in the action). The same message ends :tommyds-migrate (run_corpus_migrate_action's final print(... f"{corpus_count_w_files(...)}" ...)) after its migration has already been published.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions