diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-14 15:06:25 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-14 15:06:25 +0800 |
commit | d70587b729f9f982e284681d5d16794cf7209e28 (patch) | |
tree | d1c539d2bd6d226dea5a7240734e6e495932e272 /src/hir/type.cpp | |
parent | f043a45fd21bab906cafc8964a892a64def65ec9 (diff) | |
download | mrust-d70587b729f9f982e284681d5d16794cf7209e28.tar.gz |
HIR - Boilerplate code, compiles
Diffstat (limited to 'src/hir/type.cpp')
-rw-r--r-- | src/hir/type.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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)) ) +{ +} + +} |