From 79c171892beef3a04ba85407157e04ddab40a89c Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Wed, 27 Apr 2022 18:11:34 +0200 Subject: [PATCH] Berry fix wrong solidification of class name --- lib/libesp32/berry/src/be_solidifylib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libesp32/berry/src/be_solidifylib.c b/lib/libesp32/berry/src/be_solidifylib.c index aa030e263..c7d614dbe 100644 --- a/lib/libesp32/berry/src/be_solidifylib.c +++ b/lib/libesp32/berry/src/be_solidifylib.c @@ -511,7 +511,7 @@ static void m_solidify_subclass(bvm *vm, bbool str_literal, bclass *cl, int buil size_t id_len = toidentifier_length(class_name); char id_buf[id_len]; toidentifier(id_buf, class_name); - logfmt(" &be_const_str_%s,\n", id_buf); + logfmt(" (bstring*) &be_const_str_%s\n", id_buf); } else { size_t id_len = toliteral_length(class_name); char id_buf[id_len];