From b9c8e9579fac9adcb0f6b86f6a1c799e2ff573ab Mon Sep 17 00:00:00 2001 From: Joe Novak Date: Fri, 10 May 2024 11:46:07 -0400 Subject: [PATCH] Redeclare Prism::Compiler::Result as type member in SmartTodo::Compiler --- lib/smart_todo/todo.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/smart_todo/todo.rb b/lib/smart_todo/todo.rb index 51bdcb2..875b7e2 100644 --- a/lib/smart_todo/todo.rb +++ b/lib/smart_todo/todo.rb @@ -32,6 +32,8 @@ def initialize(method_name, arguments, location) end class Compiler < Prism::Compiler + Result = type_member + attr_reader :metadata def initialize(metadata)