Skip to content

Commit

Permalink
add analyzer-results files for misc
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwindmill committed Jan 3, 2024
1 parent 39a8a53 commit d229d25
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
7 changes: 7 additions & 0 deletions examples/misc/analyzer-results-beta.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Analyzing misc...

error - lib/language_tour/classes/point_this.dart:8:15 - Invalid reference to 'this' expression. - invalid_reference_to_this
info - lib/language_tour/classes/point_this.dart:8:15 - Unnecessary 'this.' qualifier. Try removing 'this.'. - unnecessary_this
info - lib/language_tour/classes/point_this.dart:9:20 - Unnecessary 'this.' qualifier. Try removing 'this.'. - unnecessary_this

3 issues found.
7 changes: 7 additions & 0 deletions examples/misc/analyzer-results-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Analyzing misc...

error - lib/language_tour/classes/point_this.dart:8:15 - Invalid reference to 'this' expression. - invalid_reference_to_this
info - lib/language_tour/classes/point_this.dart:8:15 - Unnecessary 'this.' qualifier. Try removing 'this.'. - unnecessary_this
info - lib/language_tour/classes/point_this.dart:9:20 - Unnecessary 'this.' qualifier. Try removing 'this.'. - unnecessary_this

3 issues found.
7 changes: 7 additions & 0 deletions examples/misc/analyzer-results-stable.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Analyzing misc...

error - lib/language_tour/classes/point_this.dart:8:15 - Invalid reference to 'this' expression. - invalid_reference_to_this
info - lib/language_tour/classes/point_this.dart:8:15 - Unnecessary 'this.' qualifier. Try removing 'this.'. - unnecessary_this
info - lib/language_tour/classes/point_this.dart:9:20 - Unnecessary 'this.' qualifier. Try removing 'this.'. - unnecessary_this

3 issues found.
3 changes: 2 additions & 1 deletion tool/dart_tools/bin/update_analyzer_txt.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'dart:io';

import 'package:path/path.dart' as path;

void main(List<String> args) async {
Expand Down Expand Up @@ -42,7 +43,7 @@ Future<void> writeAnalyzerResultsFile(
var analyzerFile =
File(path.join(directory.path, 'analyzer-results-$channel.txt'));
if (!await analyzerFile.exists()) {
analyzerFile = File(path.join(directory.path, 'analyzer-results.txt'));
analyzerFile = File(path.join(directory.path, 'analyzer-results-beta.txt'));
}

print('writing results to ${analyzerFile.path}');
Expand Down

0 comments on commit d229d25

Please sign in to comment.