error message

This commit is contained in:
Torsten Ruger 2016-12-31 15:10:07 +02:00
parent a2ece04b6d
commit 47c0f62212

View File

@ -60,7 +60,7 @@ module Parfait
def add_type(type) def add_type(type)
hash = type.hash hash = type.hash
raise "upps #{hash}" unless hash.is_a?(Fixnum) raise "upps #{hash} #{hash.class}" unless hash.is_a?(Fixnum)
was = @types[hash] was = @types[hash]
return was if was return was if was
@types[hash] = type @types[hash] = type