Closed pilaoda closed 1 month ago
Do you happen to have an example where this actually causes problems?
Do you happen to have an example where this actually causes problems?
just run this lua code output:
D:\lua_projects\test4>lua main.lua M1: my name is pilaoda M2: my name is nil
playground: https://typescripttolua.github.io/play/#code/FAYwNghgzlAEAKEBOBTAdgF1gb2LfsAsgIwAUAlDgL54GEBMA-BdcDaJDLAMIAWAlmAAmsFAA8M6IXESpMOWvhItcBNbCgBXAA4okAOmXlFsGmoYqTarboMNG+iiZpUgA
key input:
incorrect output (
this
becomeParent.prototype
, it should beself
)expected output