1
0
Fork 0
mirror of https://github.com/Reuh/candran.git synced 2025-10-27 17:59:30 +00:00

Uploaded the idea file

instead of keeping for myself
This commit is contained in:
Étienne Fildadut 2017-08-20 20:43:34 +02:00
parent 97454746b8
commit 5194cfb115
2 changed files with 163 additions and 0 deletions

View file

@ -239,6 +239,18 @@ function a:hey()
end
return a:hey()
]], "Hoi")
test("@name method call", [[
local a = {
foo = "Hoi",
bar = function(self)
return self.foo
end
}
function a:hey()
return @bar()
end
return a:hey()
]], "Hoi")
test("@[expt] indexation", [[
local a = {
foo = "Hoi"