We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5238499 commit 5f25852Copy full SHA for 5f25852
1 file changed
src/transformation/visitors/errors.ts
@@ -249,8 +249,7 @@ export const transformTryStatement: FunctionVisitor<ts.TryStatement> = (statemen
249
250
// Re-throw error if try had a finally.
251
// On pcall failure the error is the second return value, which lands in
252
- // ____hasReturned (when functionReturned), ____rethrow
253
- // (catch throw/re-throw), or ____error (otherwise).
+ // ____hasReturned (when functionReturned) or ____error (otherwise).
254
if (statement.finallyBlock) {
255
const notTryCondition = lua.createUnaryExpression(
256
lua.cloneIdentifier(tryResultIdentifier),
0 commit comments