Closed anandology closed 11 years ago
Hi Anand, this is essentially the problem with #13, I have planned to work on this after I finish with super(), but if you are ready to start now, go ahead!
I will start looking at this problem since it its blocking me with super(), basically the super() object cannot be implemented without a correct implementation of method calls.
Fixed in multiple_inheritance branch https://github.com/brownplt/lambda-py/commit/fa69d52067f32797720a22da37da4b25d8616be2
This is related to issue #13. (see testcase).
a.f()
is desugared as:This is implemented to support object methods. But it is not the appropriate place. This can be wrong in some cases. For example:
Ideally, it should be desugared to:
And object methods support should be handled by
CGetField
implementation.