mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:01:42 +00:00
Rename syntactic_errors.analyzer.g.dart to syntactic_errors.g.dart
Change-Id: Ibf80d44306313950c309af76122151086c7e7dc6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215362 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
parent
5574b1e59f
commit
90cfd7afd0
|
@ -4,4 +4,4 @@
|
|||
|
||||
export 'package:_fe_analyzer_shared/src/scanner/errors.dart'
|
||||
show ScannerErrorCode;
|
||||
export 'package:analyzer/src/dart/error/syntactic_errors.analyzer.g.dart';
|
||||
export 'package:analyzer/src/dart/error/syntactic_errors.g.dart';
|
||||
|
|
|
@ -31,14 +31,7 @@ List<CodePath> computeCodePaths() {
|
|||
String analyzerPath = pathContext.join(packageRoot, 'analyzer');
|
||||
return CodePath.from([
|
||||
[analyzerPath, 'lib', 'src', 'dart', 'error', 'hint_codes.g.dart'],
|
||||
[
|
||||
analyzerPath,
|
||||
'lib',
|
||||
'src',
|
||||
'dart',
|
||||
'error',
|
||||
'syntactic_errors.analyzer.g.dart'
|
||||
],
|
||||
[analyzerPath, 'lib', 'src', 'dart', 'error', 'syntactic_errors.g.dart'],
|
||||
[analyzerPath, 'lib', 'src', 'error', 'codes.g.dart'],
|
||||
[analyzerPath, 'lib', 'src', 'pubspec', 'pubspec_warning_code.g.dart'],
|
||||
], [
|
||||
|
|
|
@ -81,8 +81,7 @@ const List<_ErrorClassInfo> _errorClasses = [
|
|||
type: 'HINT',
|
||||
extraImports: ['package:analyzer/src/error/analyzer_error_code.dart']),
|
||||
_ErrorClassInfo(
|
||||
// TODO(paulberry): rename to `syntactic_errors.g.dart`.
|
||||
filePath: 'lib/src/dart/error/syntactic_errors.analyzer.g.dart',
|
||||
filePath: 'lib/src/dart/error/syntactic_errors.g.dart',
|
||||
name: 'ParserErrorCode',
|
||||
type: 'SYNTACTIC_ERROR',
|
||||
severity: 'ERROR',
|
||||
|
|
Loading…
Reference in a new issue