add paster to some weird golang incorrect memory address bug

This commit is contained in:
2023-11-14 20:19:24 +00:00
parent 140ce3d2a8
commit 6295e23d1b
3 changed files with 31 additions and 9 deletions

13
tests/broken_funcCall.ar Normal file
View File

@@ -0,0 +1,13 @@
let x = do
let class = {}
class.f(path) = do
let wowww = {}
wowww.nice(callback) = term.log(callback)
return wowww
class.cool(path, callback) = do
term.log(path,callback)
let c = (class.f(path))
c.nice(callback)
return class.object()
x.cool("to", ()=10)