@@ -140,9 +140,8 @@ class AnalyzeCommand extends FlutterCommand {
// prepare a Dart file that references all the above Dart files
StringBuffermainBody=newStringBuffer();
for(intindex=0;index<dartFiles.length;index+=1){
for(intindex=0;index<dartFiles.length;index+=1)
mainBody.writeln('import \'${path.normalize(path.absolute(dartFiles[index]))}\' as file$index;');
}
mainBody.writeln('void main() { }');
// prepare a union of all the .packages files
...
...
@@ -243,8 +242,8 @@ class AnalyzeCommand extends FlutterCommand {
newRegExp('^\\[error\\] Target of URI does not exist: \'dart:ui_internals\''),// https://github.com/flutter/flutter/issues/83
newRegExp(r'\[lint\] Prefer using lowerCamelCase for constant names.'),// sometimes we have no choice (e.g. when matching other platforms)
newRegExp(r'\[lint\] Avoid defining a one-member abstract class when a simple function will do.'),// too many false-positives; code review should catch real instances