Ignore:
Timestamp:
Apr 3, 2022, 8:49:42 PM (2 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
92538ab
Parents:
3eb1653
Message:

Update the String Enum implementation. The declaration now can handles creating the enum decl. But the compilation fails when trying to create reference to the Enum. Need a way to resolve InstTypes?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    r3eb1653 r4559b34  
    14681468                return strict_dynamic_cast< ast::Decl * >( node );
    14691469        }
    1470 
     1470       
    14711471        ConverterOldToNew() = default;
    14721472        ConverterOldToNew(const ConverterOldToNew &) = delete;
     
    27712771                ast::EnumInstType * ty;
    27722772                if ( old->baseEnum ) {
    2773                         ty = new ast::EnumInstType{
     2773                        ty = new ast::EnumInstType{ // Probably here: missing the specification of the base
    27742774                                GET_ACCEPT_1( baseEnum, EnumDecl ),
    27752775                                cv( old ),
Note: See TracChangeset for help on using the changeset viewer.