Skip to content

Conversation

@istathar
Copy link
Member

@istathar istathar commented Aug 4, 2025

Further improvements to the detection and output of errors.

The "ok" string is now only printed from the technique check command; if running format then it just validates silently before outputting the formatted code.

Filename, line, and columns are now printed consistently in error messages be they concise or full.

A significant improvement is the handling of mistakes made by the user when writing signatures and when those signatures are spread over multiple lines. Both were failing, the first with InvalidProcedure rather than the more specific InvalidSignature you'd expect and the error offset was not pointing to the mistake in the signature.

@istathar istathar self-assigned this Aug 4, 2025
@istathar istathar merged commit b7e80d2 into technique-lang:main Aug 4, 2025
1 check passed
@istathar istathar deleted the concise-errors branch August 14, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant