mirror of
https://github.com/scummvm/scummvm.git
synced 2025-04-02 10:52:32 -04:00
This reverts commit 9153ec4f52
.
With the current grammar change, foo(bar(5)) is treated as foo(bar 5) which
obviously breaks too many things
25 lines
395 B
Text
25 lines
395 B
Text
abc(mNew)
|
|
abc(callPerform)
|
|
|
|
factory abc
|
|
method mnew
|
|
put "init"
|
|
|
|
method callMe
|
|
put "Am i called?"
|
|
return "a1"
|
|
|
|
method callMe2
|
|
put "Am i called2?"
|
|
|
|
method callMe3
|
|
put "Am I called3?"
|
|
|
|
method callPerform
|
|
put "stepped into matFrame"
|
|
set retval to me(mPerform, "callMe")
|
|
me(mPerform, "callMe2")
|
|
me(mPerform, "callMe3")
|
|
put "returned" && retval
|
|
|
|
scummvmAssertEqual(retval, "a1")
|