lib/finitio/system.rb in finitio-0.7.0.pre.rc3 vs lib/finitio/system.rb in finitio-0.7.0.pre.rc4
- old
+ new
@@ -102,11 +102,13 @@
next unless t.named?
each_import do |i|
next unless found = i.get_type(t.name)
if found == t
STDERR.puts "WARN: duplicate type def `#{t.name}`"
+ break
else
STDERR.puts "NOTICE: Type erasure `#{t.name}`"
+ break
end
end
end
self
end