Skip to content

'checkedTo' should be a macro #4245

Open
@fruffy

Description

checkedTo in the ICastable class is currently a function. Unfortunately, this means that the BUG_CHECK it contains will always point to the line location in the compilation unit and not to the callee. This makes it a little harder to identify quickly why a cast has failed.

Metadata

Assignees

Labels

coreTopics concerning the core segments of the compiler (frontend, midend, parser)enhancementThis topic discusses an improvement to existing compiler code.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions