Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Expr.cpp

    r20a5977 r10a1225  
    2020#include <vector>
    2121
    22 #include "GenericSubstitution.hpp"
    2322#include "Stmt.hpp"
    2423#include "Type.hpp"
    25 #include "TypeSubstitution.hpp"
    26 #include "Common/utility.h"
    2724#include "Common/SemanticError.h"
    2825#include "GenPoly/Lvalue.h"        // for referencesPermissable
     
    159156        assert( aggregate->result );
    160157
    161         // take ownership of member type
    162         result = mem->get_type();
    163         // substitute aggregate generic parameters into member type
    164         genericSubsitution( aggregate->result ).apply( result );
    165         // ensure lvalue and appropriate restrictions from aggregate type
    166         result.get_and_mutate()->qualifiers |= aggregate->result->qualifiers | CV::Lvalue;
     158        assert(!"unimplemented; need TypeSubstitution, genericSubstitution");
    167159}
    168160
     
    241233                        FixedLen, DynamicDim },
    242234                std::string{"\""} + s + "\"",
    243                 (unsigned long long)0,
    244                 ConstantExpr::String };
     235                (unsigned long long)0 };
    245236}
    246237
     
    341332        stmts.emplace_back( new ExprStmt{ loc, tupleExpr } );
    342333        stmtExpr = new StmtExpr{ loc, new CompoundStmt{ loc, std::move(stmts) } };
    343 }
    344 
    345 TupleAssignExpr::TupleAssignExpr(
    346         const CodeLocation & loc, const Type * result, const StmtExpr * s )
    347 : Expr( loc, result ), stmtExpr() {
    348         stmtExpr = s;
    349334}
    350335
Note: See TracChangeset for help on using the changeset viewer.