diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 1665da1431f..f5364f71d13 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -480,7 +480,6 @@ module ts { function bind(node: Node): void { node.parent = parent; - switch (node.kind) { case SyntaxKind.TypeParameter: declareSymbolForDeclarationAndBindChildren(node, SymbolFlags.TypeParameter, SymbolFlags.TypeParameterExcludes); diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 5b5150ab132..010b6308348 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -1279,6 +1279,7 @@ module ts { } export const enum SymbolFlags { + None = 0, FunctionScopedVariable = 0x00000001, // Variable (var) or parameter BlockScopedVariable = 0x00000002, // A block-scoped variable (let or const) Property = 0x00000004, // Property or enum member