diff options
Diffstat (limited to 'src/codegen/llvm.rs')
-rw-r--r-- | src/codegen/llvm.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen/llvm.rs b/src/codegen/llvm.rs index 5b5db90a1ad8..ee087845b640 100644 --- a/src/codegen/llvm.rs +++ b/src/codegen/llvm.rs @@ -92,6 +92,7 @@ impl<'ctx, 'ast> Codegen<'ctx, 'ast> { Literal::Bool(b) => Ok(AnyValueEnum::IntValue( ty.const_int(if *b { 1 } else { 0 }, false), )), + Literal::String(_) => todo!(), } } Expr::UnaryOp { op, rhs, .. } => { |