From 81c0be67e716eac2e9f51253ba2ecac2d4268272 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 26 Sep 2023 22:35:35 +0200 Subject: [PATCH] Avoid useless allocations for interpolations without maps (#2095) --- lib/src/visitor/async_evaluate.dart | 2 +- lib/src/visitor/evaluate.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/visitor/async_evaluate.dart b/lib/src/visitor/async_evaluate.dart index 6e16a71bf..13258ed04 100644 --- a/lib/src/visitor/async_evaluate.dart +++ b/lib/src/visitor/async_evaluate.dart @@ -3403,7 +3403,7 @@ final class _EvaluateVisitor Future _performInterpolation(Interpolation interpolation, {bool warnForColor = false}) async { var (result, _) = await _performInterpolationHelper(interpolation, - sourceMap: true, warnForColor: warnForColor); + sourceMap: false, warnForColor: warnForColor); return result; } diff --git a/lib/src/visitor/evaluate.dart b/lib/src/visitor/evaluate.dart index 87f3ef6c0..de45a4c56 100644 --- a/lib/src/visitor/evaluate.dart +++ b/lib/src/visitor/evaluate.dart @@ -5,7 +5,7 @@ // DO NOT EDIT. This file was generated from async_evaluate.dart. // See tool/grind/synchronize.dart for details. // -// Checksum: 7669de19668af665d1a9a60cf67e53e071bf415e +// Checksum: 1c3027293ac9cb8a0d03b18c9ca447d62c2733d7 // // ignore_for_file: unused_import @@ -3372,7 +3372,7 @@ final class _EvaluateVisitor String _performInterpolation(Interpolation interpolation, {bool warnForColor = false}) { var (result, _) = _performInterpolationHelper(interpolation, - sourceMap: true, warnForColor: warnForColor); + sourceMap: false, warnForColor: warnForColor); return result; }