You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/unit/annotations/__snapshots__/deprecated.spec.ts.snap
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,8 @@ return ____exports"
11
11
exports[`LuaTable deprecation warning property access set: diagnostics 1`] =`"main.ts(12,16): error TSTL: '@luaTable' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#luatable for more information."`;
exports[`LuaTable removed warning property access length: diagnostics 1`] =`"main.ts(12,16): error TSTL: '@luaTable' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#luatable for more information."`;
39
40
40
41
exports[`extension removed: code 1`] =`
41
-
"require(\\"lualib_bundle\\");
42
+
"local ____lualib = require(\\"lualib_bundle\\")
43
+
local __TS__Class = ____lualib.__TS__Class
44
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
42
45
B = __TS__Class()
43
46
B.name = \\"B\\"
44
47
__TS__ClassExtends(B, A)"
45
48
`;
46
49
47
50
exports[`extension removed: code 2`] =`
48
-
"require(\\"lualib_bundle\\");
51
+
"local ____lualib = require(\\"lualib_bundle\\")
52
+
local __TS__Class = ____lualib.__TS__Class
53
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
49
54
B = __TS__Class()
50
55
B.name = \\"B\\"
51
56
__TS__ClassExtends(B, A)"
@@ -90,7 +95,9 @@ end"
90
95
exports[`phantom removed: diagnostics 1`] =`"main.ts(3,9): error TSTL: '@phantom' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#phantom for more information."`;
91
96
92
97
exports[`pureAbstract removed: code 1`] =`
93
-
"require(\\"lualib_bundle\\");
98
+
"local ____lualib = require(\\"lualib_bundle\\")
99
+
local __TS__Class = ____lualib.__TS__Class
100
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
0 commit comments