Index: pkg/analyzer/lib/src/task/dart.dart |
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart |
index 6860903184744597c65b90725f804c9549120133..94c5f31903c1320ef52f410e1018bb513e57da17 100644 |
--- a/pkg/analyzer/lib/src/task/dart.dart |
+++ b/pkg/analyzer/lib/src/task/dart.dart |
@@ -4047,7 +4047,6 @@ class ParseDartTask extends SourceBasedAnalysisTask { |
parser.parseFunctionBodies = options.analyzeFunctionBodiesPredicate(source); |
parser.parseGenericMethods = options.enableGenericMethods; |
parser.parseGenericMethodComments = options.strongMode; |
- parser.parseTrailingCommas = options.enableTrailingCommas; |
CompilationUnit unit = parser.parseCompilationUnit(tokenStream); |
unit.lineInfo = lineInfo; |