From 47c0f622121c329c3bbd2e887d74e27970ce7907 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 31 Dec 2016 15:10:07 +0200 Subject: [PATCH] error message --- lib/typed/parfait/space.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/typed/parfait/space.rb b/lib/typed/parfait/space.rb index 4e53b8c7..bab4a5d4 100644 --- a/lib/typed/parfait/space.rb +++ b/lib/typed/parfait/space.rb @@ -60,7 +60,7 @@ module Parfait def add_type(type) hash = type.hash - raise "upps #{hash}" unless hash.is_a?(Fixnum) + raise "upps #{hash} #{hash.class}" unless hash.is_a?(Fixnum) was = @types[hash] return was if was @types[hash] = type