Skip to content

Comments

Fix issue 586: Avoid interpreting named args as labels when indenting newline#612

Merged
WebFreak001 merged 2 commits intodlang-community:masterfrom
FeepingCreature:fix/named-args
Sep 25, 2025
Merged

Fix issue 586: Avoid interpreting named args as labels when indenting newline#612
WebFreak001 merged 2 commits intodlang-community:masterfrom
FeepingCreature:fix/named-args

Conversation

@FeepingCreature
Copy link
Contributor

No description provided.

@FeepingCreature
Copy link
Contributor Author

hang on doesn't work with new Class(named: value) testing

@FeepingCreature
Copy link
Contributor Author

does now

Copy link
Member

@WebFreak001 WebFreak001 left a comment

Choose a reason for hiding this comment

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

this whole thing makes me think it would be way easier and less error-prone to just check if we are within a (...) context and not within a {...} context

@WebFreak001 WebFreak001 merged commit 49612a4 into dlang-community:master Sep 25, 2025
1 check passed
@FeepingCreature FeepingCreature deleted the fix/named-args branch September 26, 2025 09:40
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