ids -> tags (part 2)

This commit is contained in:
SuperAuguste
2020-07-16 11:05:56 -04:00
parent da4d2c2be1
commit ce841d1dc4
3 changed files with 4 additions and 4 deletions

View File

@@ -1019,7 +1019,7 @@ pub fn getFieldAccessType(
while (true) {
const tok = tokenizer.next();
switch (tok.tag) {
switch (tok.id) {
.Eof => return FieldAccessReturn{
.original = current_type,
.unwrapped = try resolveDerefType(store, arena, current_type, &bound_type_params),
@@ -1806,7 +1806,7 @@ fn lookupSymbolGlobalInternal(
if (scope.decls.getEntry(symbol)) |candidate| {
switch (candidate.value) {
.ast_node => |node| {
if (node.id == .ContainerField) continue;
if (node.tag == .ContainerField) continue;
},
.label_decl => continue,
else => {},