• Greg Spencer's avatar
    Narrow regexp for import search in bot's analyze script. (#26539) · 35fcd907
    Greg Spencer authored
    This was causing analysis to fail when there was an import statement in a comment, such as when snippets add imports to their examples.
    
    I narrowed the RegExp to match only those lines which aren't commented out, but it really should probably be using the analysis server to catch all cases (e.g. if someone put the doc comment into /** */ comments, it could still match). Since this is a Flutter-specific script, it's probably not worth doing that.
    35fcd907
analyze.dart 19.7 KB