From d70587b729f9f982e284681d5d16794cf7209e28 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 14 May 2016 15:06:25 +0800 Subject: HIR - Boilerplate code, compiles --- src/hir/type.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/hir/type.cpp (limited to 'src/hir/type.cpp') diff --git a/src/hir/type.cpp b/src/hir/type.cpp new file mode 100644 index 00000000..45e50e6e --- /dev/null +++ b/src/hir/type.cpp @@ -0,0 +1,12 @@ +/* + */ +#include "type.hpp" + +namespace HIR { + +TypeRef::TypeRef(::HIR::Path path): + type( TypeRef::Data::make_Path(mv$(path)) ) +{ +} + +} -- cgit v1.2.3