You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to introduce object oriented programming based on lexicon and binded KOSDelegate, and serveral game crash happened when I debug my script.
This happened in KOS 1.2.1.0 / KSP 1.9.1 but I think it will happened in the latest version (but I can't test it.)
Here is a example of script that cause the crash:
function memberFunc {
parameter self.
}
function new {
local self is lexicon().
set self:memberFunc to memberFunc@:bind(self).
return self.
}
local obj is new().
print obj.
I am trying to introduce object oriented programming based on lexicon and binded KOSDelegate, and serveral game crash happened when I debug my script.
This happened in KOS 1.2.1.0 / KSP 1.9.1 but I think it will happened in the latest version (but I can't test it.)
Here is a example of script that cause the crash:
Some log after crash:
It crashs not only when I print it, but also when I run the script with some bugs in the script, which really bothers me.
The text was updated successfully, but these errors were encountered: