Index: pkg/analyzer/lib/src/dart/analysis/file_state.dart |
diff --git a/pkg/analyzer/lib/src/dart/analysis/file_state.dart b/pkg/analyzer/lib/src/dart/analysis/file_state.dart |
index b4fb3595ddde3ef527f8aad0143cef2466a776d6..7f6050effffe729d866cacf1a53012d822e2f947 100644 |
--- a/pkg/analyzer/lib/src/dart/analysis/file_state.dart |
+++ b/pkg/analyzer/lib/src/dart/analysis/file_state.dart |
@@ -357,7 +357,8 @@ class FileState { |
if (USE_FASTA_PARSER) { |
try { |
- fasta.ScannerResult scanResult = fasta.scan(_contentBytes); |
+ fasta.ScannerResult scanResult = |
+ fasta.scan(_contentBytes, includeComments: true); |
var astBuilder = new fasta.AstBuilder( |
new ErrorReporter(errorListener, source), |