inlined indexed into list

which was the only one using it.
A whole lot simpler, considering it will have to be bootstrapped someday
This commit is contained in:
Torsten Ruger
2016-12-30 21:00:18 +02:00
parent e80d028f7b
commit d6c503ecf4
5 changed files with 226 additions and 255 deletions

View File

@ -26,7 +26,7 @@ module Register
inst = object.get_instance_variable name
keep(inst , depth + 1)
end
if object.is_a? Parfait::Indexed
if object.is_a? Parfait::List
object.each do |item|
#puts "Keep item "
keep(item , depth + 1)