Skip to content

Commit a371dea

Browse files
Update external test cases (#948)
Co-authored-by: JohnnyMorganz <[email protected]>
1 parent 57408a8 commit a371dea

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
type function f(...)
2+
-- implementation of the type function
3+
end
4+
5+
export type function f(...)
6+
-- implementation of the type function
7+
end
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
source: tests/tests.rs
3+
expression: "format(&contents, LuaVersion::Luau)"
4+
input_file: tests/inputs-luau-full_moon/types_function.lua
5+
---
6+
type function f(...)
7+
-- implementation of the type function
8+
end
9+
10+
export type function f(...)
11+
-- implementation of the type function
12+
end

0 commit comments

Comments
 (0)