summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crates/rebel-lang/src/typing.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rebel-lang/src/typing.rs b/crates/rebel-lang/src/typing.rs
index f15cbc4..3ee681a 100644
--- a/crates/rebel-lang/src/typing.rs
+++ b/crates/rebel-lang/src/typing.rs
@@ -493,6 +493,7 @@ impl<'scope> Context<'scope> {
fn check_string_interp_type(typ: Type, kind: expr::StrKind) -> Result<()> {
match (typ, kind) {
+ (Type::Free, _) => Ok(()),
(Type::Bool, _) => Ok(()),
(Type::Int, _) => Ok(()),
(Type::Str, _) => Ok(()),