| Index: tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| diff --git a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| index 5e5bb28a9ab9e0e7ab1645533a74fcfaaad02e8b..dce4d7c2bda26515fe5541b4f24fdacd0b70a597 100644
|
| --- a/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| +++ b/tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart
|
| @@ -505,10 +505,10 @@ class CodePointComputer extends TraceListener {
|
| /// Called when [node] defines a step of the given [kind] at the given
|
| /// [offset] when the generated JavaScript code.
|
| void onStep(js.Node node, Offset offset, StepKind kind) {
|
| - register('$kind', node);
|
| + register(kind, node);
|
| }
|
|
|
| - void register(String kind, js.Node node, {bool expectInfo: true}) {
|
| + void register(StepKind kind, js.Node node, {bool expectInfo: true}) {
|
|
|
| String dartCodeFromSourceLocation(SourceLocation sourceLocation) {
|
| SourceFile sourceFile =
|
| @@ -555,7 +555,7 @@ class CodePointComputer extends TraceListener {
|
|
|
| /// A JavaScript code point and its mapped dart source location.
|
| class CodePoint {
|
| - final String kind;
|
| + final StepKind kind;
|
| final String jsCode;
|
| final SourceLocation sourceLocation;
|
| final String dartCode;
|
|
|