summaryrefslogtreecommitdiff
path: root/src/trans/codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans/codegen.cpp')
-rw-r--r--src/trans/codegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trans/codegen.cpp b/src/trans/codegen.cpp
index 28b8501c..cfca3dab 100644
--- a/src/trans/codegen.cpp
+++ b/src/trans/codegen.cpp
@@ -25,8 +25,8 @@ void Trans_Codegen(const ::std::string& outfile, const ::HIR::Crate& crate, cons
{
TU_IFLET( ::HIR::TypeRef::Data, ty.m_data, Path, te,
TU_MATCHA( (te.binding), (tpb),
- (Unbound, ),
- (Opaque, ),
+ (Unbound, throw ""; ),
+ (Opaque, throw ""; ),
(Struct,
codegen->emit_struct(sp, te.path.m_data.as_Generic(), *tpb);
),