This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 5 files changed +11
-5
lines changed 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
- //
4
+
5
5
// This file has been automatically generated. Please do not edit it manually.
6
6
// To regenerate the file, use the SDK script
7
7
// "pkg/analyzer/tool/summary/generate.dart $IDL_FILE_PATH",
8
8
// or "pkg/analyzer/tool/generate_files" for the analyzer package IDL/sources.
9
9
10
+ // The generator sometimes generates unnecessary 'this' references.
11
+ // ignore_for_file: unnecessary_this
12
+
10
13
library analyzer.src.summary.format;
11
14
12
15
import 'dart:convert' as convert;
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
- //
4
+
5
5
// This file has been automatically generated. Please do not edit it manually.
6
6
// To regenerate the file, use the SDK script
7
7
// "pkg/analyzer/tool/summary/generate.dart $IDL_FILE_PATH",
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class PackageBundleAssembler {
15
15
}
16
16
17
17
void setBundle2 (LinkedNodeBundleBuilder bundle2) {
18
- if (this . _bundle2 != null ) {
18
+ if (_bundle2 != null ) {
19
19
throw StateError ('Bundle2 may be set only once.' );
20
20
}
21
21
_bundle2 = bundle2;
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ class LibraryBuilder {
300
300
return null ;
301
301
}
302
302
var relativeUri = Uri .parse (relativeUriStr);
303
- return resolveRelativeUri (this . uri, relativeUri);
303
+ return resolveRelativeUri (uri, relativeUri);
304
304
}
305
305
306
306
String _selectRelativeUri (
Original file line number Diff line number Diff line change @@ -806,6 +806,9 @@ class _CodeGenerator {
806
806
/// Entry point to the code generator when generating the "format.dart" file.
807
807
void generateFormatCode () {
808
808
outputHeader ();
809
+ out ("// The generator sometimes generates unnecessary 'this' references." );
810
+ out ('// ignore_for_file: unnecessary_this' );
811
+ out ();
809
812
out ('library analyzer.src.summary.format;' );
810
813
out ();
811
814
out ("import 'dart:convert' as convert;" );
@@ -848,7 +851,7 @@ class _CodeGenerator {
848
851
out ('// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file' );
849
852
out ('// for details. All rights reserved. Use of this source code is governed by a' );
850
853
out ('// BSD-style license that can be found in the LICENSE file.' );
851
- out ('//' );
854
+ out ();
852
855
out ('// This file has been automatically generated. Please do not edit it manually.' );
853
856
out ('// To regenerate the file, use the SDK script' );
854
857
out ('// "pkg/analyzer/tool/summary/generate.dart \$ IDL_FILE_PATH",' );
You can’t perform that action at this time.
0 commit comments