From 260ae13e6170fd52c9f4500fd1d8889fc1d80c56 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 10 Jul 2016 16:21:58 +1000 Subject: HIR - (comment) Need to record source trait for type bounds --- src/hir/path.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hir/path.hpp b/src/hir/path.hpp index eb88317d..9ec75522 100644 --- a/src/hir/path.hpp +++ b/src/hir/path.hpp @@ -114,6 +114,7 @@ class TraitPath public: GenericPath m_path; ::std::vector< ::std::string> m_hrls; + // TODO: Each bound should list its origin trait ::std::map< ::std::string, ::HIR::TypeRef> m_type_bounds; const ::HIR::Trait* m_trait_ptr; -- cgit v1.2.3