Chromium Code Reviews| Index: pkg/compiler/lib/src/native/scanner.dart |
| diff --git a/pkg/compiler/lib/src/native/scanner.dart b/pkg/compiler/lib/src/native/scanner.dart |
| index 1ce396e7707b557937eed52008729cdd2ad2924e..1b7deb875a89ba091822a82752a97d4215a9065b 100644 |
| --- a/pkg/compiler/lib/src/native/scanner.dart |
| +++ b/pkg/compiler/lib/src/native/scanner.dart |
| @@ -35,8 +35,8 @@ Token handleNativeFunctionBody(ElementListener listener, Token token) { |
| if (identical(token.kind, Tokens.STRING_TOKEN)) { |
| hasExpression = true; |
| listener.beginLiteralString(token); |
| - listener.endLiteralString(0); |
| token = token.next; |
| + listener.endLiteralString(0, token); |
|
ahe
2017/03/09 12:19:37
I recommend making sure that you have tested this
|
| } |
| listener.endReturnStatement(hasExpression, begin, token); |
| // TODO(ngeoffray): expect a ';'. |