Skip to content

Commit 81c0be6

Browse files
authoredSep 26, 2023
Avoid useless allocations for interpolations without maps (#2095)
1 parent de618fa commit 81c0be6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎lib/src/visitor/async_evaluate.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -3403,7 +3403,7 @@ final class _EvaluateVisitor
34033403
Future<String> _performInterpolation(Interpolation interpolation,
34043404
{bool warnForColor = false}) async {
34053405
var (result, _) = await _performInterpolationHelper(interpolation,
3406-
sourceMap: true, warnForColor: warnForColor);
3406+
sourceMap: false, warnForColor: warnForColor);
34073407
return result;
34083408
}
34093409

‎lib/src/visitor/evaluate.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// DO NOT EDIT. This file was generated from async_evaluate.dart.
66
// See tool/grind/synchronize.dart for details.
77
//
8-
// Checksum: 7669de19668af665d1a9a60cf67e53e071bf415e
8+
// Checksum: 1c3027293ac9cb8a0d03b18c9ca447d62c2733d7
99
//
1010
// ignore_for_file: unused_import
1111

@@ -3372,7 +3372,7 @@ final class _EvaluateVisitor
33723372
String _performInterpolation(Interpolation interpolation,
33733373
{bool warnForColor = false}) {
33743374
var (result, _) = _performInterpolationHelper(interpolation,
3375-
sourceMap: true, warnForColor: warnForColor);
3375+
sourceMap: false, warnForColor: warnForColor);
33763376
return result;
33773377
}
33783378

0 commit comments

Comments
 (0)
Please sign in to comment.