summaryrefslogtreecommitdiff
path: root/src/expand/mod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r--src/expand/mod.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp
index aa7655e3..4470b2bb 100644
--- a/src/expand/mod.cpp
+++ b/src/expand/mod.cpp
@@ -272,13 +272,15 @@ void Expand_Type(::AST::Crate& crate, LList<const AST::Module*> modstack, ::AST:
(TraitObject,
for(auto& p : e.traits)
{
- Expand_Path(crate, modstack, mod, p);
+ // TODO: p.hrbs? Not needed until types are in those
+ Expand_Path(crate, modstack, mod, p.path);
}
),
(ErasedType,
for(auto& p : e.traits)
{
- Expand_Path(crate, modstack, mod, p);
+ // TODO: p.hrbs?
+ Expand_Path(crate, modstack, mod, p.path);
}
)
)
@@ -859,6 +861,8 @@ void Expand_GenericParams(::AST::Crate& crate, LList<const AST::Module*> modstac
for(auto& bound : params.bounds())
{
TU_MATCHA( (bound), (be),
+ (None,
+ ),
(Lifetime,
),
(TypeLifetime,