mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 22:35:43 +08:00
15 lines
341 B
Lua
15 lines
341 B
Lua
-- This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
print('testing function calls through API')
|
|
|
|
function add(a, b)
|
|
return a + b
|
|
end
|
|
|
|
local m = { __eq = function(a, b) return a.a == b.a end }
|
|
|
|
function create_with_tm(x)
|
|
return setmetatable({ a = x }, m)
|
|
end
|
|
|
|
return('OK')
|