Skip to content

Move autoty_* into language fragments#966

Merged
david-broman merged 1 commit intomiking-lang:developfrom
elegios:autoty-fragments
Jan 28, 2026
Merged

Move autoty_* into language fragments#966
david-broman merged 1 commit intomiking-lang:developfrom
elegios:autoty-fragments

Conversation

@elegios
Copy link
Contributor

@elegios elegios commented Nov 27, 2025

A while back I added helpers for creating record and tuple expressions with reasonable ty fields (most recently in #897). Unfortunately, these work by calling tyTm without themselves being sems, thus using terms that are not in standard MExpr makes them crash. This PR moves them into a language fragment, enabling extension, while retaining backwards-compatibility by exposing the versions using only MExprAst under the old, top-level names.

@david-broman david-broman merged commit f3d8b9a into miking-lang:develop Jan 28, 2026
1 of 2 checks passed
@elegios elegios deleted the autoty-fragments branch February 2, 2026 12:28
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.

2 participants