Skip to content

refactor: add use imports for relocated Env and Exit effects#305

Merged
magnus-madsen merged 4 commits intomasterfrom
refactor/add-use-imports-relocated-effects
Mar 10, 2026
Merged

refactor: add use imports for relocated Env and Exit effects#305
magnus-madsen merged 4 commits intomasterfrom
refactor/add-use-imports-relocated-effects

Conversation

@magnus-madsen
Copy link
Member

@magnus-madsen magnus-madsen commented Mar 10, 2026

Summary

  • Add use Sys.Env and use Sys.Exit imports to code blocks in src/main.md and src/default-handlers.md so short names resolve after the effects were relocated to Sys.Env and Sys.Exit
  • No changes needed for Random (only Java interop refs), Process (already has imports), for-llms.md / hello-world.md (prose only)

Test plan

  • Verify code snippets in src/main.md compile with the Flix compiler
  • Verify code snippets in src/default-handlers.md compile with the Flix compiler

🤖 Generated with Claude Code

@magnus-madsen magnus-madsen merged commit ff3938b into master Mar 10, 2026
1 check passed
@magnus-madsen magnus-madsen deleted the refactor/add-use-imports-relocated-effects branch March 10, 2026 13:15
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.

1 participant