Skip to content

fix(compiler): pass the ast to user-form in the arity error reporter#80

Merged
skydread1 merged 2 commits into
developfrom
fix/arity-reporter-user-form
Jul 21, 2026
Merged

fix(compiler): pass the ast to user-form in the arity error reporter#80
skydread1 merged 2 commits into
developfrom
fix/arity-reporter-user-form

Conversation

@skydread1

Copy link
Copy Markdown
Member

Closes #79

  • Pass the ast to user-form in the ::missing-instance-method-arity reporter, matching every other reporter in the namespace.
  • Verified by dispatching the reporter directly: it now throws the diagnostic instead of an ArityException from user-form.
  • Consumer smoke build under production flags rebuilt byte-identical smoke DLLs, so the emission path is unchanged.
  • Paired refresh of magic.analyzer.errors.clj.dll and the dll-sources.edn record.

…79)

Dispatching ::missing-instance-method-arity threw an ArityException
from the reporter itself, masking the diagnostic.
@skydread1 skydread1 self-assigned this Jul 21, 2026
@skydread1
skydread1 merged commit 189da2e into develop Jul 21, 2026
1 check passed
@skydread1
skydread1 deleted the fix/arity-reporter-user-form branch July 21, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The missing-instance-method-arity error reporter crashes with an arity error if dispatched

1 participant