summaryrefslogtreecommitdiff
path: root/test/diagnostics/duplicate-index.lua
blob: 3289c736bd71bf37f6e59266761efe7700dc0288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
TEST [[
return {
    <!x!> = 1,
    y = 2,
    <!x!> = 3,
}
]]

TEST [[
return {
    x = 1,
    y = 2,
}, {
    x = 1,
    y = 2,
}
]]

TEST [[
return {
    1, <!2!>, 3,
    [<!2!>] = 4,
}
]]