Skip to content

Fix unreachable code warning in validate-inputs#837

Merged
mike-thompson-day8 merged 1 commit intomasterfrom
fix-unreachable-code-warning
Apr 12, 2026
Merged

Fix unreachable code warning in validate-inputs#837
mike-thompson-day8 merged 1 commit intomasterfrom
fix-unreachable-code-warning

Conversation

@mike-thompson-day8
Copy link
Copy Markdown
Contributor

The doseq macro expands into a loop with recur, so a throw in the body makes the continuation unreachable. Replace with some + throw to avoid the Closure Compiler advanced-compilation warning.

Fixes #827

The doseq macro expands into a loop with recur, so a throw in the body
makes the continuation unreachable. Replace with some + throw to avoid
the Closure Compiler advanced-compilation warning.

Fixes #827

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mike-thompson-day8 mike-thompson-day8 merged commit 678f0f4 into master Apr 12, 2026
1 check passed
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.

[Bug]: unreachable code warning advanced-compilation in re-frame v1.4.4

1 participant