Skip to content

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

Closed
@marijnh

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.)

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