Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/ImplementEnumFunc.cpp

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