mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Address code review
This commit is contained in:
1 parent
1246dca703
commit
4b7d2f2411
18 files changed
+113
-85
No files matched your search
@@ -1489,7 +1489,7 @@ module ts {
|
||||
|
||||
// Set strictModeKind property so that we can report appropriate error later in type checker
|
||||
if (inStrictModeContext() && (token > SyntaxKind.Identifier && token <= SyntaxKind.LastFutureReservedWord)) {
|
||||
node.strictModeKind = token;
|
||||
node.isKeywordInStrictMode = token;
|
||||
}
|
||||
node.text = internIdentifier(scanner.getTokenValue());
|
||||
nextToken();
|
||||
|
||||
Reference in new issue
Block a user