mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 00:46:07 +00:00
add paster to some weird golang incorrect memory address bug
This commit is contained in:
13
tests/broken_funcCall.ar
Normal file
13
tests/broken_funcCall.ar
Normal 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)
|
||||
Reference in New Issue
Block a user