Skip to content

Allow 'give up on this function scope, continue with next' errors in typeck #1504

Closed

Description

@marijnh

Currently, when the check phase comes across something it really can't type, it bails out entirely and aborts the compilation. It should not be too hard to set it up to continue typechecking other function blocks, since those are mostly separate units. (Of course, getting a function declaration wrong might result in multiple errors with the same cause, but that still seems preferable to having the compile give up completely.)

Activity

  1. catamorphism commented on Feb 7, 2013

    @catamorphism
    Contributor

    I think that with my work on #1871, this is no longer an issue.

  2. added 2 commits that reference this issue on Aug 21, 2026
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

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-type-systemArea: Type systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions