Fix bug where field is missing from record type expression

This commit is contained in:
Sam Vervaeck 2024-01-21 09:16:46 +01:00
parent 00dbada7ac
commit 34b7693229
Signed by: samvv
SSH key fingerprint: SHA256:dIg0ywU1OP+ZYifrYxy8c5esO72cIKB+4/9wkZj1VaY

View file

@ -449,6 +449,7 @@ after_constraints:
}
if (T3->getKind() == NodeKind::VBar) {
Tokens.get();
Fields.push_back(std::make_tuple(Field, nullptr));
VBar = static_cast<class VBar*>(T3);
Rest = parseTypeExpression();
if (!Rest) {