Ignore:
Timestamp:
Apr 15, 2024, 12:03:53 PM (3 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
dc58e5d
Parents:
d9bad51
Message:

Reimplement the resolution of Enum instance type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    rd9bad51 raf746cc  
    4646        void postvisit( ast::UnionInstType const * type );
    4747        void postvisit( ast::EnumInstType const * type );
    48         void postvisit( ast::EnumPosType const * type );
     48        void postvisit( ast::EnumAttrType const * type );
    4949        void postvisit( ast::TypeInstType const * type );
    5050        void postvisit( ast::TupleType const * type );
     
    240240}
    241241
    242 void GenType::postvisit( ast::EnumPosType const * type ) {
     242void GenType::postvisit( ast::EnumAttrType const * type ) {
    243243        postvisit( type->instance );
    244244}
Note: See TracChangeset for help on using the changeset viewer.