diff options
Diffstat (limited to 'src/types.hpp')
-rw-r--r-- | src/types.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/types.hpp b/src/types.hpp index 7484d522..0cb8ba9a 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -90,6 +90,7 @@ TAGGED_UNION(TypeData, None, AST::Path path;
)),
(TraitObject, (
+ ::std::vector<::std::string> hrls;
::std::vector<AST::Path> traits;
))
);
@@ -200,8 +201,8 @@ public: TypeRef(TagPath(), ::std::move(path))
{}
- TypeRef( ::std::vector<AST::Path> traits ):
- m_data(TypeData::make_TraitObject({ ::std::move(traits) }))
+ TypeRef( ::std::vector<::std::string> hrls, ::std::vector<AST::Path> traits ):
+ m_data(TypeData::make_TraitObject({ mv$(hrls), ::std::move(traits) }))
{}
|