summaryrefslogtreecommitdiff
path: root/test/diagnostics/newline-call.lua
blob: ca160aa3d2ba8ad90a6c3578c457b464abf7afbf (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
25
26
27
28
29
30
31
32
33
34
TEST [[
<!print()
('string')!>:sub(1, 1)
]]

TEST [[
print()
('string')
]]

TEST [[
print
{}
{}
]]

TEST [[
local x
return x
    : f(1)
    : f(1)
]]

TEST [[
print()
'string'
]]

TEST [[
print
{
    x = 1,
}
]]