Changeset 748c751 for src/Validate


Ignore:
Timestamp:
Apr 18, 2024, 8:38:33 PM (4 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
38093ae
Parents:
cdb4eaa
Message:

Remove unnecessary implicit enum type conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/ImplementEnumFunc.cpp

    rcdb4eaa r748c751  
    296296        {new ast::ObjectDecl(getLocation(), "_i", new ast::EnumInstType(decl))},
    297297        {new ast::ObjectDecl(getLocation(), "_ret",
    298                              new ast::EnumAttrType(new ast::EnumInstType(decl),
    299                                                    ast::EnumAttribute::Posn))});
     298            new ast::BasicType(ast::BasicType::UnsignedInt))});
    300299}
    301300
Note: See TracChangeset for help on using the changeset viewer.