Changes in src/AST/Expr.cpp [d8938622:20de6fb]
- File:
-
- 1 edited
-
src/AST/Expr.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
rd8938622 r20de6fb 20 20 #include <vector> 21 21 22 #include "GenericSubstitution.hpp"23 22 #include "Stmt.hpp" 24 23 #include "Type.hpp" 25 #include "TypeSubstitution.hpp"26 24 #include "Common/utility.h" 27 25 #include "Common/SemanticError.h" … … 159 157 assert( aggregate->result ); 160 158 161 // take ownership of member type 162 Type * res = result.set_and_mutate( mem->get_type() ); 163 // substitute aggregate generic parameters into member type 164 genericSubsitution( aggregate->result ).apply( res ); 165 // ensure lvalue and appropriate restrictions from aggregate type 166 res->set_lvalue( true ); 167 res->qualifiers |= aggregate->result->qualifiers; 168 // ensure changes propegated back into result 169 result = res; 159 assert(!"unimplemented; need TypeSubstitution, genericSubstitution"); 170 160 } 171 161
Note:
See TracChangeset
for help on using the changeset viewer.