Skip to content

Explain constraint errors with signatures#2751

Merged
plajjan merged 1 commit into
mainfrom
guide-constraint-signatures
Apr 30, 2026
Merged

Explain constraint errors with signatures#2751
plajjan merged 1 commit into
mainfrom
guide-constraint-signatures

Conversation

@plajjan

@plajjan plajjan commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Explain how to debug simultaneous constraint errors where an unknown solver type is related to a concrete expected type. The new guide example shows how to inspect the exact concrete type with acton sig, compare its compiler-visible interface with the selected attributes, and recognize when code is selecting attributes on the wrong value.

The type troubleshooting page explained how to inspect imported
signatures, but it did not cover simultaneous constraint errors where an
unknown solver type is related to a concrete expected type. Ask Acton was
then treating those errors as missing inference even when an inherited
method signature already fixed the parameter type.

Add a neutral example where an override selects item attributes on a
context value. The guide now shows how to read the concrete type at the
bottom of the constraint set, inspect that exact type with acton sig, and
compare the selected attributes against the compiler-visible interface.
@plajjan plajjan force-pushed the guide-constraint-signatures branch from 777e31d to 4416fff Compare April 30, 2026 11:46
@plajjan plajjan enabled auto-merge April 30, 2026 11:48
@plajjan plajjan merged commit 99b1209 into main Apr 30, 2026
40 of 41 checks passed
@plajjan plajjan deleted the guide-constraint-signatures branch April 30, 2026 12:23
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.

1 participant