IntelliJ IDEA supports name mappings and currently typescript compiler produces incorrect name mappings (https://youtrack.jetbrains.com/issue/WEB-17717). Typescript code: ``` typescript class Foo { public b = 3; bar(param1){ var a = 5; return a; } } new Foo().bar(1); ``` Debug output: https://gist.github.com/develar/598a984f27bb92526094 Project to get debug output: https://dl.dropboxusercontent.com/u/43511007/s/ts-name-mappings-bug.zip IDEA sourcemap visualiser: 