dart-archive / ts2dart

ts2dart TypeScript to Dart transpiler
Apache License 2.0
181 stars 62 forks source link

Should preserve inline comments #347

Open mhevery opened 8 years ago

mhevery commented 8 years ago
Promise.then/*<T>*/(...)

should preserve the comment in the same location in the dart output.

mprobst commented 8 years ago

Is this still needed with #348?

Generally speaking this might be tricky, we depend on TS' API to access these comment nodes. If TS drops them, we don't have much choice (though maybe we're accidentally dropping them ourselves).