镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Transforms] Incorrect namespace name qualification #7868

Closed

Description

Expected:

var x;
(function (x_1) {
    x_1.x = 10;
})(x || (x = {}));

Actual:

var x;
(function (x_1) {
    x_1.x = 10;
})(x_1.x || (x_1.x = {}));

Failed tests:

  • tests/cases/conformance/externalModules/duplicateExportAssignments.ts
  • tests\cases\compiler\collisionCodeGenModuleWithModuleReopening.ts
  • tests/cases/compiler/moduleSharesNameWithImportDeclarationInsideIt2.ts

Activity

  1. changed the title [-][Transforms] Incorrect module name qualification[/-] [+][Transforms] Incorrect namespace name qualification[/+] on Apr 6, 2016
  2. added a commit that references this issue on Apr 8, 2016
    8b506c7
  3. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptDomain: API: TransformsRelates to the public transform API

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions