Skip to content

Commit

Permalink
merge D2 pull 59
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jul 1, 2011
1 parent c9e2668 commit 8359ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.c
Expand Up @@ -177,7 +177,7 @@ FuncDeclaration *hasThis(Scope *sc)
break;
}

fd = fd->parent->isFuncDeclaration();
fd = parent->isFuncDeclaration();
}

if (!fd->isThis())
Expand Down

0 comments on commit 8359ec9

Please sign in to comment.