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:
Paul Berry 2021-10-04 15:09:46 +00:00 committed by commit-bot@chromium.org
parent 5574b1e59f
commit 90cfd7afd0
4 changed files with 3 additions and 11 deletions

View file

@ -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';

View file

@ -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'],
], [

View file

@ -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',