Skip to content

Error recovery and poison types #176

Description

@ramonasuncion

Continue past errors and collect multiple diagnostics instead of stopping at the first one.

var x : Int = "oops";   // error: type mismatch
var y = x + 1;          // suppressed: x already failed
  • Dedup collected errors so the same error at the same location only appears once.
  • Cap output with a "too many errors" note when the count gets too high.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerCompiler internals, codegen, type system

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions