Changeset 5408b59 for src/Validate/FixQualifiedTypes.cpp
- Timestamp:
- Oct 18, 2022, 9:12:19 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- c2b3243
- Parents:
- 1e30df7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/FixQualifiedTypes.cpp
r1e30df7 r5408b59 102 102 } 103 103 104 105 auto var = new ast::ObjectDecl( t->var->location, t->name, 106 new ast::EnumInstType(enumDecl, ast::CV::Const), nullptr, {}, ast::Linkage::Cforall ); 107 var->scopeLevel = 1; // 1 for now; should copy the scopeLevel of the enumValue 104 auto var = new ast::ObjectDecl( t->location, t->name, 105 new ast::EnumInstType(enumDecl, ast::CV::Const), nullptr, {}, ast::Linkage::Cforall ); 108 106 var->mangleName = Mangle::mangle( var ); 109 107 return new ast::VariableExpr( t->location, var ); 110 // return ret;111 108 } 112 109
Note: See TracChangeset
for help on using the changeset viewer.