added hashcode/equals to RLocalType
fix for skipping the next declared type
Local Type Sub class instance as an argument that is defined as a Base
local type