Skip to content

Commit 18c80c7

Browse files
author
Leo Arnold
committed
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.
1 parent e37869d commit 18c80c7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

sig/snaky_hash.rbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
module SnakyHash
2-
VERSION: String
32
# See the writing guide of rbs: https://github.com/ruby/rbs#guides
43
end

0 commit comments

Comments
 (0)