Style patches
This commit is contained in:
parent
c9279ab0e7
commit
b9ba05be81
23 changed files with 90 additions and 90 deletions
|
|
@ -9,9 +9,9 @@ setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i
|
|||
|
||||
foo1 = i.Foo()
|
||||
foo1_a = foo1.AsA
|
||||
assert( foo1_a.x == 5 )
|
||||
assert( foo1_a:get_me().x == 5 )
|
||||
assert(foo1_a.x == 5)
|
||||
assert(foo1_a:get_me().x == 5)
|
||||
-- Unfortunately, in Lua operator+= can't be overloaded
|
||||
|
||||
foo1.AsLong = 1000
|
||||
assert( foo1.AsLong == 1000 )
|
||||
assert(foo1.AsLong == 1000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue