Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something wrong with counting instance fields #60

Open
HaifengSun-Kira opened this issue Jun 14, 2019 · 0 comments
Open

Something wrong with counting instance fields #60

HaifengSun-Kira opened this issue Jun 14, 2019 · 0 comments

Comments

@HaifengSun-Kira
Copy link

HaifengSun-Kira commented Jun 14, 2019

slotId = class.superClass.instanceFieldCount

This line of code should count the instance fields recursively. While the class.superClass.instanceSlotCount hasn't been initialized, its value is 0.

@HaifengSun-Kira HaifengSun-Kira changed the title Something wrong with Something wrong with counting instance fields Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant