Update LKG

This commit is contained in:
Kanchalai Tanglertsampan
2016-09-14 16:38:11 -07:00
parent c98103b1fb
commit 5f1336be9e
5 changed files with 7 additions and 7 deletions

View File

@@ -13848,7 +13848,7 @@ var ts;
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
}
}
if (result && isInExternalModule) {
if (result && isInExternalModule && (meaning & 107455) === 107455) {
var decls = result.declarations;
if (decls && decls.length === 1 && decls[0].kind === 228) {
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);

View File

@@ -14844,7 +14844,7 @@ var ts;
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
}
}
if (result && isInExternalModule) {
if (result && isInExternalModule && (meaning & 107455) === 107455) {
var decls = result.declarations;
if (decls && decls.length === 1 && decls[0].kind === 228) {
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);

View File

@@ -14844,7 +14844,7 @@ var ts;
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
}
}
if (result && isInExternalModule) {
if (result && isInExternalModule && (meaning & 107455) === 107455) {
var decls = result.declarations;
if (decls && decls.length === 1 && decls[0].kind === 228) {
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);

View File

@@ -17337,8 +17337,8 @@ var ts;
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
}
}
// If we're in an external module, we can't reference symbols created from UMD export declarations
if (result && isInExternalModule) {
// If we're in an external module, we can't reference value symbols created from UMD export declarations
if (result && isInExternalModule && (meaning & 107455 /* Value */) === 107455 /* Value */) {
var decls = result.declarations;
if (decls && decls.length === 1 && decls[0].kind === 228 /* NamespaceExportDeclaration */) {
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);

View File

@@ -17337,8 +17337,8 @@ var ts;
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
}
}
// If we're in an external module, we can't reference symbols created from UMD export declarations
if (result && isInExternalModule) {
// If we're in an external module, we can't reference value symbols created from UMD export declarations
if (result && isInExternalModule && (meaning & 107455 /* Value */) === 107455 /* Value */) {
var decls = result.declarations;
if (decls && decls.length === 1 && decls[0].kind === 228 /* NamespaceExportDeclaration */) {
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);