From f19482d7934372ef1857a70b06d011bd4cc1b83d Mon Sep 17 00:00:00 2001 From: Genar Trias Ortiz Date: Tue, 10 Sep 2024 18:02:32 +0200 Subject: [PATCH] hacking --- lib/runtime_generic.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/runtime_generic.rb b/lib/runtime_generic.rb index 3a56349..387e63c 100644 --- a/lib/runtime_generic.rb +++ b/lib/runtime_generic.rb @@ -1,5 +1,14 @@ # typed: true +# Fix tapioca prepend issue +module T + module Generic + def self.prepended(mod) + RuntimeGeneric.prepend(mod) + end + end +end + # This module allows using type introspection to serialize/deserialize custom generics in # T::Structs. #