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
You can see D's static functions addresses all point to C's instance functions and initialization of D's instances calls them, resulting in a wrong d.value (it should be the same as c.value: "<static> C.static:foo").
The text was updated successfully, but these errors were encountered:
Given the file
static.lua
:And its output:
You can see D's static functions addresses all point to C's instance functions and initialization of D's instances calls them, resulting in a wrong
d.value
(it should be the same asc.value
:"<static> C.static:foo"
).The text was updated successfully, but these errors were encountered: