Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt

Use this file to discover all available pages before exploring further.

What this means

effect/try lowering produced invalid control flow

Metadata

  • Code: E5002
  • Default level: Error
  • Phase: Lowering
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/E5002
  • Tags: mir, effects

How to fix

  • simplify control flow
  • expand desugar manually

Typical output

E5002: try block lowering error
note: effect/try lowering produced invalid control flow