Skip to content

Some comments not emitted - upgrade 1.0.1 to 1.3.0 #1311

@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

    Not a DefectThis behavior is one of several equally-correct options

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions