File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -284,8 +284,9 @@ Future testStackTrace(
284284 }
285285 }
286286 if (line.isMapped && ! found) {
287- List <LineException > exceptions =
288- expectedIndex == 0 ? beforeExceptions : afterExceptions;
287+ List <LineException > exceptions = expectedIndex == 0
288+ ? beforeExceptions
289+ : afterExceptions;
289290 for (LineException exception in exceptions) {
290291 String fileName = exception.fileName;
291292 if (line.methodName == exception.methodName &&
Original file line number Diff line number Diff line change @@ -99,20 +99,24 @@ void checkD8Steps(
9999 outputFilename,
100100 );
101101
102- List <_DartStackTraceDataEntry > trace =
103- result.map ((entry) => entry.first).toList ();
102+ List <_DartStackTraceDataEntry > trace = result
103+ .map ((entry) => entry.first)
104+ .toList ();
104105 if (debug) _debugPrint (trace, outputPath);
105106
106- List <String > recordStops =
107- trace.where ((entry) => ! entry.isError).map ((entry) => '$entry ' ).toList ();
108-
109- Set <int > recordStopLines =
110- trace.where ((entry) => ! entry.isError).map ((entry) => entry.line).toSet ();
111- Set <String > recordStopLineColumns =
112- trace
113- .where ((entry) => ! entry.isError)
114- .map ((entry) => '${entry .line }:${entry .column }' )
115- .toSet ();
107+ List <String > recordStops = trace
108+ .where ((entry) => ! entry.isError)
109+ .map ((entry) => '$entry ' )
110+ .toList ();
111+
112+ Set <int > recordStopLines = trace
113+ .where ((entry) => ! entry.isError)
114+ .map ((entry) => entry.line)
115+ .toSet ();
116+ Set <String > recordStopLineColumns = trace
117+ .where ((entry) => ! entry.isError)
118+ .map ((entry) => '${entry .line }:${entry .column }' )
119+ .toSet ();
116120
117121 List <String ?> expectedStops = [];
118122 for (Annotation annotation in code.annotations.where (
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: sourcemap_testing
44publish_to : none
55
66environment :
7- sdk : ^3.7 .0
7+ sdk : ^3.8 .0
88
99resolution : workspace
1010
You can’t perform that action at this time.
0 commit comments