Changeset 63d5b9c8 for src/Validate


Ignore:
Timestamp:
Aug 6, 2024, 11:19:56 PM (3 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
43ab5fb
Parents:
d7cb0f7
Message:

Merge changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/ImplementEnumFunc.cpp

    rd7cb0f7 r63d5b9c8  
    210210                "value",
    211211                {new ast::ObjectDecl(getLocation(), "_i", new ast::EnumInstType(decl))},
    212                 {new ast::ObjectDecl(getLocation(), "_ret",
    213                                                         ast::deepCopy(decl->base))});
    214         // else
    215         //      return genQuasiValueProto();
     212                {new ast::ObjectDecl(getLocation(), "_ret", decl->base)});
    216213}
    217214
Note: See TracChangeset for help on using the changeset viewer.