Skip to content

Some comments not emitted - upgrade 1.0.1 to 1.3.0 #1311

Open
@jbondc

Description

@jbondc

more file.ts

// test
var f = ''
// test #2
module foo {
        function bar() { }
}
// test #3
module empty {
}
// test #4

more file.js

// test
var f = '';
// test #2
var foo;
(function (foo) {
    function bar() {
    }
})(foo || (foo = {}));

Looks like comments after a 'block' aren't emitted. Could it be a missing emitTrailingComments(node) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions