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
exports[`pureAbstract removed: diagnostics 1`] =`"main.ts(4,22): error TSTL: '@pureAbstract' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#pureabstract for more information."`;
100
100
101
+
exports[`tuplereturn lambda: code 1`] =`
102
+
"local ____exports = {}
103
+
function ____exports.__main(self)
104
+
local function f()
105
+
return {3, 4}
106
+
end
107
+
end
108
+
return ____exports"
109
+
`;
110
+
111
+
exports[`tuplereturn lambda: diagnostics 1`] =`"main.ts(2,39): error TSTL: '@tupleReturn' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#tuplereturn for more information."`;
112
+
113
+
exports[`tuplereturn removed on function declaration: code 1`] =`
114
+
"local ____exports = {}
115
+
function ____exports.__main(self)
116
+
local function tuple(self)
117
+
return {3, 5, 1}
118
+
end
119
+
end
120
+
return ____exports"
121
+
`;
122
+
123
+
exports[`tuplereturn removed on function declaration: diagnostics 1`] =`"main.ts(3,9): error TSTL: '@tupleReturn' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#tuplereturn for more information."`;
124
+
125
+
exports[`tuplereturn removed: code 1`] =`
126
+
"local ____exports = {}
127
+
function ____exports.__main(self)
128
+
local function tuple(self)
129
+
return {3, 5, 1}
130
+
end
131
+
return tuple(nil)[3]
132
+
end
133
+
return ____exports"
134
+
`;
135
+
136
+
exports[`tuplereturn removed: diagnostics 1`] =`
137
+
"main.ts(3,9): error TSTL: '@tupleReturn' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#tuplereturn for more information.
138
+
main.ts(4,16): error TSTL: '@tupleReturn' has been removed and will no longer have any effect.See https://typescripttolua.github.io/docs/advanced/compiler-annotations#tuplereturn for more information."
0 commit comments