summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 74697784..06102fe5 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -391,6 +391,9 @@
(String,
return ::HIR::Pattern::Value::make_String(e);
),
+ (ByteString,
+ return ::HIR::Pattern::Value::make_ByteString({e.v});
+ ),
(Named,
return ::HIR::Pattern::Value::make_Named( {LowerHIR_Path(sp, e), nullptr} );
)