Chromium Code Reviews| Index: lib/source_map_stack_trace.dart |
| diff --git a/lib/source_map_stack_trace.dart b/lib/source_map_stack_trace.dart |
| index ae2f124d37219bde279cf5fb6d49e8ae8327627b..e7dc10909eaed3a6f16174182b3720416d480083 100644 |
| --- a/lib/source_map_stack_trace.dart |
| +++ b/lib/source_map_stack_trace.dart |
| @@ -62,7 +62,8 @@ StackTrace mapStackTrace(Mapping sourceMap, StackTrace stackTrace, |
| // Subtract 1 because stack traces use 1-indexed lines and columns and |
| // source maps uses 0-indexed. |
| - var span = sourceMap.spanFor(frame.line - 1, column - 1); |
| + var span = |
| + sourceMap.spanFor(frame.line - 1, column - 1, uri: frame.uri?.toString()); |
|
nweiz
2016/12/12 22:04:56
Long line.
You're using a new feature in the sour
Jacob
2016/12/13 18:01:53
Done.
|
| // If we can't find a source span, ignore the frame. It's probably something |
| // internal that the user doesn't care about. |