diff options
Diffstat (limited to 'test/definition')
-rw-r--r-- | test/definition/bug.lua | 18 | ||||
-rw-r--r-- | test/definition/call.lua | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/test/definition/bug.lua b/test/definition/bug.lua index 4a755170..77797f40 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -178,42 +178,42 @@ local A, B function A:get1() local <!a!> = B:get() - return <!a!> + return a end function A:get2() local <!a!> = B:get() - return <!a!> + return a end function A:get3() local <!a!> = B:get() - return <!a!> + return a end function A:get4() local <!a!> = B:get() - return <!a!> + return a end function A:get5() local <!a!> = B:get() - return <!a!> + return a end function A:get6() local <!a!> = B:get() - return <!a!> + return a end function A:get7() local <!a!> = B:get() - return <!a!> + return a end function A:get8() local <!a!> = B:get() - return <!a!> + return a end function B:get() @@ -226,7 +226,7 @@ function B:get() <!b!> = A:get6() <!b!> = A:get7() <!b!> = A:get8() - return <!b!> + return b end local <!b!> = B:get() diff --git a/test/definition/call.lua b/test/definition/call.lua index 42502f40..15364396 100644 --- a/test/definition/call.lua +++ b/test/definition/call.lua @@ -1,7 +1,7 @@ TEST [[ function f() local <!x!> - return <!x!> + return x end local <!y!> = f() print(<?y?>) |