Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    re612146c re3e16bc  
    155155        virtual ~FunctionDecl();
    156156
    157         Type * get_type() const;
    158         virtual void set_type(Type *);
     157        Type * get_type() const { return type; }
     158        virtual void set_type(Type * t) { type = strict_dynamic_cast< FunctionType* >( t ); }
    159159
    160160        FunctionType * get_functionType() const { return type; }
Note: See TracChangeset for help on using the changeset viewer.