Skip to content

Commit ed1ff3d

Browse files
committed
Fixing up whitespace and semicolons
1 parent 82ecd5d commit ed1ff3d

10 files changed

Lines changed: 248 additions & 250 deletions

File tree

src/compiler/binder.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace ts {
9696

9797
let symbolCount = 0;
9898
let Symbol = objectAllocator.getSymbolConstructor();
99-
let classifiableNames: Map<string> = {};
99+
let classifiableNames: Map<string> = {};
100100

101101
if (!file.locals) {
102102
bind(file);
@@ -202,10 +202,10 @@ namespace ts {
202202
symbol = hasProperty(symbolTable, name)
203203
? symbolTable[name]
204204
: (symbolTable[name] = createSymbol(SymbolFlags.None, name));
205-
205+
206206
if (name && (includes & SymbolFlags.Classifiable)) {
207-
classifiableNames[name] = name;
208-
}
207+
classifiableNames[name] = name;
208+
}
209209

210210
if (symbol.flags & excludes) {
211211
if (node.name) {
@@ -286,7 +286,7 @@ namespace ts {
286286

287287
// This node will now be set as the parent of all of its children as we recurse into them.
288288
parent = node;
289-
289+
290290
// Depending on what kind of node this is, we may have to adjust the current container
291291
// and block-container. If the current node is a container, then it is automatically
292292
// considered the current block-container as well. Also, for containers that we know
@@ -335,7 +335,7 @@ namespace ts {
335335
case SyntaxKind.TypeLiteral:
336336
case SyntaxKind.ObjectLiteralExpression:
337337
return ContainerFlags.IsContainer;
338-
338+
339339
case SyntaxKind.CallSignature:
340340
case SyntaxKind.ConstructSignature:
341341
case SyntaxKind.IndexSignature:
@@ -807,7 +807,7 @@ namespace ts {
807807
}
808808
}
809809
}
810-
810+
811811
/// Should be called only on prologue directives (isPrologueDirective(node) should be true)
812812
function isUseStrictPrologueDirective(node: ExpressionStatement): boolean {
813813
let nodeText = getTextOfNodeFromSourceText(file.text, node.expression);
@@ -988,7 +988,7 @@ namespace ts {
988988

989989
function bindVariableDeclarationOrBindingElement(node: VariableDeclaration | BindingElement) {
990990
if (inStrictMode) {
991-
checkStrictModeEvalOrArguments(node, node.name)
991+
checkStrictModeEvalOrArguments(node, node.name);
992992
}
993993

994994
if (!isBindingPattern(node.name)) {
@@ -1044,4 +1044,4 @@ namespace ts {
10441044
: declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes);
10451045
}
10461046
}
1047-
}
1047+
}

0 commit comments

Comments
 (0)