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

fix instance self.super() 's call loop issue #173 #236

Merged
merged 2 commits into from
Feb 2, 2016
Merged

fix instance self.super() 's call loop issue #173 #236

merged 2 commits into from
Feb 2, 2016

Conversation

Awhisper
Copy link
Contributor

@Awhisper Awhisper commented Feb 1, 2016

解决了 实例方法内 self.super() 的循环调用问题

@@ -125,6 +125,9 @@ var global = this
var ret;
try {
global.self = args[0]
if (global.self.__obj) {
global.self.__obj.__clsDeclaration = declaration
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__clsDeclaration 应该赋在 self 上而不是 self.__obj

bang590 added a commit that referenced this pull request Feb 2, 2016
fix instance self.super() 's    call loop   issue #173
@bang590 bang590 merged commit 5416e1e into bang590:master Feb 2, 2016
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

Successfully merging this pull request may close these issues.

2 participants