From 41dede808e4e8e2a16df41e66bc2f386ba9e6325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Reuh=20Fildadut?= Date: Wed, 29 May 2024 20:24:35 +0200 Subject: [PATCH] [internal] fix typo in string interpolation --- anselme/ast/StringInterpolation.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anselme/ast/StringInterpolation.lua b/anselme/ast/StringInterpolation.lua index 9b290fb..0a72f21 100644 --- a/anselme/ast/StringInterpolation.lua +++ b/anselme/ast/StringInterpolation.lua @@ -37,9 +37,9 @@ local StringInterpolation = ast.abstract.Node { for _, e in ipairs(self.list) do local r = e:eval(state) if String:is(e) then -- raw string - r = e.string + r = r.string else -- interpolation - r = e:format_custom(state) + r = r:format_custom(state) end table.insert(t, r) end