summaryrefslogtreecommitdiff
path: root/src/resolve/absolute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve/absolute.cpp')
-rw-r--r--src/resolve/absolute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp
index fd451ca5..0b9c2476 100644
--- a/src/resolve/absolute.cpp
+++ b/src/resolve/absolute.cpp
@@ -1774,7 +1774,7 @@ void Resolve_Absolute_Pattern(Context& context, bool allow_refutable, ::AST::Pa
Resolve_Absolute_Pattern(context, allow_refutable, sp);
),
(StructTuple,
- Resolve_Absolute_Path(context, pat.span(), Context::LookupMode::Pattern, e.path);
+ Resolve_Absolute_Path(context, pat.span(), Context::LookupMode::Constant, e.path);
for(auto& sp : e.tup_pat.start)
Resolve_Absolute_Pattern(context, allow_refutable, sp);
for(auto& sp : e.tup_pat.end)