Skip to content

Commit 5f25852

Browse files
committed
Fix comment
1 parent 5238499 commit 5f25852

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/transformation/visitors/errors.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,7 @@ export const transformTryStatement: FunctionVisitor<ts.TryStatement> = (statemen
249249

250250
// Re-throw error if try had a finally.
251251
// 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).
252+
// ____hasReturned (when functionReturned) or ____error (otherwise).
254253
if (statement.finallyBlock) {
255254
const notTryCondition = lua.createUnaryExpression(
256255
lua.cloneIdentifier(tryResultIdentifier),

0 commit comments

Comments
 (0)