Fix last parfait bug

missing return statement (duh)
This commit is contained in:
2019-09-10 14:49:02 +03:00
parent f6bab0e633
commit 72643ebb08
7 changed files with 12 additions and 13 deletions

View File

@ -11,7 +11,7 @@ module Parfait
end
# 0 -based index
def get_internal_word(index)
super(index) if index < self.class.type_length
return super(index) if index < self.class.type_length
@memory[ index ]
end