summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/absolute.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp
index 793975fe..f466a40f 100644
--- a/src/resolve/absolute.cpp
+++ b/src/resolve/absolute.cpp
@@ -1069,6 +1069,10 @@ void Resolve_Absolute_Path_BindAbsolute(Context& context, const Span& sp, Contex
(
ERROR(sp, E0000, "Encountered non-namespace item '" << n.name() << "' ("<<name_ref.path<<") in path " << path);
),
+ (TypeAlias,
+ path = split_replace_into_ufcs_path(sp, mv$(path), i, name_ref.path);
+ return Resolve_Absolute_Path_BindUFCS(context, sp, mode, path);
+ ),
(Crate,
Resolve_Absolute_Path_BindAbsolute__hir_from(context, sp, mode, path, *e.crate_, i+1);
return ;