From be4cfd5fe7a13641d0a4a9d7c94cca398fa9728e Mon Sep 17 00:00:00 2001 From: Emily Samp Date: Thu, 17 Oct 2024 10:52:39 -0500 Subject: [PATCH] wip --- lib/tapioca/runtime/reflection.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/tapioca/runtime/reflection.rb b/lib/tapioca/runtime/reflection.rb index 530b57a76..bee57c542 100644 --- a/lib/tapioca/runtime/reflection.rb +++ b/lib/tapioca/runtime/reflection.rb @@ -32,7 +32,10 @@ module Reflection METHOD_METHOD = T.let(Kernel.instance_method(:method), UnboundMethod) UNDEFINED_CONSTANT = T.let(Module.new.freeze, Module) - REQUIRED_FROM_LABELS = T.let(["", "
"].freeze, T::Array[String]) + REQUIRED_FROM_LABELS = T.let( + ["block in ", "", "
"].freeze, + T::Array[String], + ) T::Sig::WithoutRuntime.sig { params(constant: BasicObject).returns(T::Boolean) } def constant_defined?(constant)