From 9fb8862d73407bf0df43acfe70dd172f36d26214 Mon Sep 17 00:00:00 2001 From: rune-scape Date: Wed, 13 Sep 2023 00:40:48 -0700 Subject: [PATCH] GDScript: Lambda hot reloading Co-authored-by: Adam Scott --- modules/gdscript/gdscript.cpp | 40 +++++ modules/gdscript/gdscript.h | 26 ++++ modules/gdscript/gdscript_compiler.cpp | 147 ++++++++++++++++++ modules/gdscript/gdscript_compiler.h | 35 +++++ modules/gdscript/gdscript_lambda_callable.cpp | 52 +++++++ modules/gdscript/gdscript_lambda_callable.h | 11 +- modules/gdscript/gdscript_rpc_callable.cpp | 1 + 7 files changed, 309 insertions(+), 3 deletions(-) diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 58aa7a08d4e..6245cc85a0c 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -1386,6 +1386,36 @@ String GDScript::debug_get_script_name(const Ref