From 072772893bfea8c0a7469233aeb250be3e13ba8a Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Thu, 23 Feb 2023 14:16:37 +0100 Subject: [PATCH] Add missing require for `Crystal::ThreadLocalValue` (#13092) --- src/reference.cr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/reference.cr b/src/reference.cr index 4f5f9f5571e3..a9dee7109059 100644 --- a/src/reference.cr +++ b/src/reference.cr @@ -1,3 +1,7 @@ +{% if flag?(:preview_mt) %} + require "crystal/thread_local_value" +{% end %} + # `Reference` is the base class of classes you define in your program. # It is set as a class' superclass when you don't specify one: #