Skip to content

Undeclared identifier remains undetected until QBE code generation #2

@vtereshkov

Description

@vtereshkov
main() {
    a = 42;
}
vtereshkov@Vasiliy-Acer:~/cbc/examples$ ../cbc -o ./test ./hello_world.b 
qbe:output.qbe:5: invalid type for second operand %.a_0 in storel
combined source:0:0: error: QBE failed to process the intermediate representation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions