{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/test/issues/502","repository_url":"https://api.github.com/repos/dart-lang/test","labels_url":"https://api.github.com/repos/dart-lang/test/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/test/issues/502/comments","events_url":"https://api.github.com/repos/dart-lang/test/issues/502/events","html_url":"https://github.com/dart-lang/test/issues/502","id":192374059,"number":502,"title":"DDC or any compiled test (dart2js) should emit source-mapped errors","user":{"login":"matanlurey","id":168174,"avatar_url":"https://avatars.githubusercontent.com/u/168174?v=3","gravatar_id":"","url":"https://api.github.com/users/matanlurey","html_url":"https://github.com/matanlurey","followers_url":"https://api.github.com/users/matanlurey/followers","following_url":"https://api.github.com/users/matanlurey/following{/other_user}","gists_url":"https://api.github.com/users/matanlurey/gists{/gist_id}","starred_url":"https://api.github.com/users/matanlurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanlurey/subscriptions","organizations_url":"https://api.github.com/users/matanlurey/orgs","repos_url":"https://api.github.com/users/matanlurey/repos","events_url":"https://api.github.com/users/matanlurey/events{/privacy}","received_events_url":"https://api.github.com/users/matanlurey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T19:20:24Z","updated_at":"2016-11-29T22:35:20Z","closed_at":null,"body":"_Please close this issue if the feature already exists and I am just missing how to do it_\r\n\r\nI'd like to see the following behavior when a test fails and the source language is not Dart:\r\n\r\n1. A source map is loaded, and applied (using `package:source_map_stack_trace`?)\r\n2. The emitted error by the test runner/test is the source-mapped stack trace back to Dart\r\n\r\nExample use, if we want to make this experimental:\r\n\r\n```bash\r\n$ pub run test -p chrome --experimental-use-source-maps\r\n```\r\n\r\nInternal issue `33069916`, which is assigned to @jacob314 \r\n\r\n/cc @dgrove "},"comment":{"url":"https://api.github.com/repos/dart-lang/test/issues/comments/263722468","html_url":"https://github.com/dart-lang/test/issues/502#issuecomment-263722468","issue_url":"https://api.github.com/repos/dart-lang/test/issues/502","id":263722468,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T22:35:20Z","updated_at":"2016-11-29T22:35:20Z","body":"We support this for compilation we manage, but we don't currently support it for `--precompiled` mode which is used for DDC internally (and hopefully also dart2js at some point). We can probably handle it fairly easily by checking to see if an appropriate source map file exists in the precompiled directory."}}
{"actor":{"display_login":"nex3"}}