mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 12:50:04 +08:00
17 lines
198 B
Plaintext
17 lines
198 B
Plaintext
|
local x = 123
|
||
|
|
||
|
local Point = record
|
||
|
x: number
|
||
|
y: number
|
||
|
end
|
||
|
|
||
|
local function myfunc(a: any, b: number, c: Point): number
|
||
|
print(a)
|
||
|
|
||
|
if x then
|
||
|
prnit("Hello, I am an error")
|
||
|
end
|
||
|
|
||
|
return 42
|
||
|
end
|