mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 17:31:29 +00:00
Ensure consistent variable modifiers
'var' is a distinct local or mutable global, 'let' a shared local
This commit is contained in:
@ -1904,7 +1904,7 @@ export function compileCall(
|
||||
return arg0;
|
||||
}
|
||||
|
||||
var abort = compileAbort(compiler, operands.length == 2 ? operands[1] : null, reportNode);
|
||||
let abort = compileAbort(compiler, operands.length == 2 ? operands[1] : null, reportNode);
|
||||
|
||||
compiler.currentType = type.nonNullableType;
|
||||
|
||||
|
Reference in New Issue
Block a user