mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
JS: Parser: Remove direct this.strict assignment
This commit is contained in:
@@ -3108,7 +3108,7 @@ public class Parser {
|
||||
if (stmt != null) body.add(stmt);
|
||||
if (first && allowStrict && this.isUseStrict(stmt)) {
|
||||
oldStrict = this.strict;
|
||||
this.setStrict(this.strict = true);
|
||||
this.setStrict(true);
|
||||
}
|
||||
first = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user