| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:convert' show UTF8; | 5 import 'dart:convert' show UTF8; |
| 6 | 6 |
| 7 import 'package:front_end/src/fasta/scanner/precedence.dart' | 7 import 'package:front_end/src/fasta/scanner/precedence.dart' |
| 8 show BAD_INPUT_INFO, EOF_INFO; | 8 show BAD_INPUT_INFO, EOF_INFO; |
| 9 import 'package:front_end/src/fasta/scanner/recover.dart' | 9 import 'package:front_end/src/fasta/scanner/recover.dart' |
| 10 show defaultRecoveryStrategy; | 10 show defaultRecoveryStrategy; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 @override | 89 @override |
| 90 @failingTest | 90 @failingTest |
| 91 void test_comment_generic_method_type_list() { | 91 void test_comment_generic_method_type_list() { |
| 92 // TODO(paulberry,ahe): Fasta scanner doesn't support generic comment | 92 // TODO(paulberry,ahe): Fasta scanner doesn't support generic comment |
| 93 // syntax. | 93 // syntax. |
| 94 super.test_comment_generic_method_type_list(); | 94 super.test_comment_generic_method_type_list(); |
| 95 } | 95 } |
| 96 | 96 |
| 97 @override | 97 @override |
| 98 @failingTest | 98 @failingTest |
| 99 void test_double_missingDigitInExponent() { | |
| 100 // TODO(danrubel): investigate and fix | |
| 101 super.test_double_missingDigitInExponent(); | |
| 102 } | |
| 103 | |
| 104 @override | |
| 105 @failingTest | |
| 106 void test_hexidecimal_missingDigit() { | |
| 107 // TODO(danrubel): investigate and fix | |
| 108 super.test_hexidecimal_missingDigit(); | |
| 109 } | |
| 110 | |
| 111 @override | |
| 112 @failingTest | |
| 113 void test_mismatched_closer() { | 99 void test_mismatched_closer() { |
| 114 // TODO(danrubel): investigate and fix | 100 // TODO(danrubel): investigate and fix |
| 115 super.test_mismatched_closer(); | 101 super.test_mismatched_closer(); |
| 116 } | 102 } |
| 117 | 103 |
| 118 @override | 104 @override |
| 119 @failingTest | 105 @failingTest |
| 120 void test_mismatched_opener() { | 106 void test_mismatched_opener() { |
| 121 // TODO(danrubel): investigate and fix | 107 // TODO(danrubel): investigate and fix |
| 122 super.test_mismatched_opener(); | 108 super.test_mismatched_opener(); |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 expect(previous.previous, previous, reason: 'Invalid leading EOF'); | 258 expect(previous.previous, previous, reason: 'Invalid leading EOF'); |
| 273 while (!token.isEof) { | 259 while (!token.isEof) { |
| 274 previous = token; | 260 previous = token; |
| 275 token = token.next; | 261 token = token.next; |
| 276 expect(token, isNotNull, reason: previous.toString()); | 262 expect(token, isNotNull, reason: previous.toString()); |
| 277 expect(token.previous, previous, reason: token.toString()); | 263 expect(token.previous, previous, reason: token.toString()); |
| 278 } | 264 } |
| 279 expect(token.next, token, reason: 'Invalid trailing EOF'); | 265 expect(token.next, token, reason: 'Invalid trailing EOF'); |
| 280 } | 266 } |
| 281 } | 267 } |
| OLD | NEW |