Skip to content

Conversation

@abs0luty
Copy link
Contributor

@abs0luty abs0luty commented Oct 20, 2025

@abs0luty abs0luty force-pushed the spreading-in-const-records branch 3 times, most recently from b2242d8 to 200b09a Compare October 23, 2025 11:23
@abs0luty abs0luty changed the title Implement record spreading in const values Allow spreading const records in type constructors for const values Oct 23, 2025
@abs0luty abs0luty changed the title Allow spreading const records in type constructors for const values Allow spreading records in type constructors for const values Oct 23, 2025
@abs0luty abs0luty force-pushed the spreading-in-const-records branch 4 times, most recently from 50c471a to df799f4 Compare October 27, 2025 19:31
@abs0luty abs0luty force-pushed the spreading-in-const-records branch from df799f4 to 5d39a71 Compare October 31, 2025 06:18
Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This will be a relly nice addition. I've left a few questions in line.

Could you add a test that ensures that pub const dog = Animal(..alice) emits the "fieldless record update" warning please 🙏

@lpil lpil marked this pull request as draft November 10, 2025 13:41
@abs0luty abs0luty force-pushed the spreading-in-const-records branch 2 times, most recently from 33a70f5 to 84302ed Compare November 11, 2025 10:48
@abs0luty abs0luty force-pushed the spreading-in-const-records branch from 84302ed to 5f48b6d Compare November 11, 2025 10:53
@abs0luty abs0luty requested a review from lpil November 11, 2025 10:54
@abs0luty abs0luty marked this pull request as ready for review November 11, 2025 13:13
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.

Allow spreading const records in type constructors for consts

2 participants