hogoww / Illicium

Translation from Pharo to C
3 stars 1 forks source link

= doesn't check for iv in superclass #11

Closed hogoww closed 5 years ago

hogoww commented 5 years ago

In ASTCFunctionDefinition

= anotherNode
(anotherNode class = self class)
    ifFalse: [ ^ false ].

    self body = anotherNode body
        ifFalse: [ ^ false ].

    ^ true

for example, doesn't check for its Declaration. Super does it. it should be revised to either ask for every IV in the hierarchy OR to use super

hogoww commented 5 years ago

Fixed in PR #42