Changes in src/AST/Decl.cpp [a4a6802:6e50a6b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.cpp
ra4a6802 r6e50a6b 26 26 #include "Node.hpp" // for readonly 27 27 #include "Type.hpp" // for readonly 28 #include "Expr.hpp"29 28 30 29 namespace ast { … … 66 65 for (auto & tp : this->type_params) { 67 66 ftype->forall.emplace_back(new TypeInstType(tp->name, tp)); 68 for (auto & ap: tp->assertions) {69 ftype->assertions.emplace_back(new VariableExpr(loc, ap));70 }71 67 } 72 68 this->type = ftype;
Note: See TracChangeset
for help on using the changeset viewer.