From 18c80c7594e03ce39c3a8420084ab5ddff87b8f0 Mon Sep 17 00:00:00 2001 From: Leo Arnold Date: Mon, 8 Jun 2026 11:25:53 +0200 Subject: [PATCH] Fix RBS::DuplicatedDeclarationError We remove the RBS declaration of SnakyHash::VERSION from sig/snaky_hash.rbs because it's already declared in sig/snakey_hash/version.rbs. This duplicate declaration causes RBS::DuplicatedDeclarationError in projects using snaky_hash. --- sig/snaky_hash.rbs | 1 - 1 file changed, 1 deletion(-) diff --git a/sig/snaky_hash.rbs b/sig/snaky_hash.rbs index 11786b3..fb2eef1 100644 --- a/sig/snaky_hash.rbs +++ b/sig/snaky_hash.rbs @@ -1,4 +1,3 @@ module SnakyHash - VERSION: String # See the writing guide of rbs: https://github.com/ruby/rbs#guides end