abouttreesummaryrefslogcommitdiff
path: root/src/repr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/repr.h')
-rw-r--r--src/repr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/repr.h b/src/repr.h
index b30aecd..ff54f97 100644
--- a/src/repr.h
+++ b/src/repr.h
@@ -79,11 +79,13 @@ struct Body
struct Function
{
std::string name;
- std::vector<std::string> genericTypeNames;
- std::vector<std::vector<Type>> genericInstantiations;
Type returnType;
std::vector<Variable> parameters;
bool defined;
+
+ std::vector<std::string> genericTypeNames;
+ std::vector<std::vector<Type>> genericInstantiations;
+
Body body;
};