Skip to content

refactor(conf): avoid type assertion in map case branch #749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

thevilledev
Copy link
Contributor

Simplifies the code by using the type switch variable binding instead of performing an additional type assertion.

thevilledev and others added 2 commits January 24, 2025 21:12
Simplifies the code by using the type switch variable binding instead of
performing an additional type assertion.

Signed-off-by: Ville Vesilehto <[email protected]>
@antonmedv antonmedv merged commit 9dc8bb9 into expr-lang:master Mar 7, 2025
15 checks passed
SimFG pushed a commit to SimFG/expr that referenced this pull request Apr 15, 2025
Simplifies the code by using the type switch variable binding instead of
performing an additional type assertion.

Signed-off-by: Ville Vesilehto <[email protected]>
Co-authored-by: Anton Medvedev <[email protected]>
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