From 3f61516aeb9e4fe4aad8a00e410a75c43fc3a22e Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 30 Sep 2025 12:02:58 -0700 Subject: [PATCH] Fix nil compile times Fixes #1775 --- internal/execute/tsc/statistics.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/execute/tsc/statistics.go b/internal/execute/tsc/statistics.go index 380e354978..2dd995b145 100644 --- a/internal/execute/tsc/statistics.go +++ b/internal/execute/tsc/statistics.go @@ -150,5 +150,8 @@ func (s *Statistics) Aggregate(stat *Statistics) { } func (s *Statistics) SetTotalTime(totalTime time.Duration) { + if s.compileTimes == nil { + s.compileTimes = &CompileTimes{} + } s.compileTimes.totalTime = totalTime }