Skip to content

Supporting Circular References#97

Closed
omerbn wants to merge 8 commits intocwacek:masterfrom
omerbn:master
Closed

Supporting Circular References#97
omerbn wants to merge 8 commits intocwacek:masterfrom
omerbn:master

Conversation

@omerbn
Copy link
Copy Markdown

@omerbn omerbn commented Nov 4, 2017

Example:
class A has property of type Class B
Class B has property of type Class A
This causes stack-overflow due to recursions.

Solution:
My fix suggests to set placeholders where there are references to current-during-build classes, and fill these placeholders upon finish.

Notes:
I had many commits as I tried to match forked:master indentation.
I accidentally committed something and removed it in following commit.

@cwacek
Copy link
Copy Markdown
Owner

cwacek commented Nov 5, 2017

Superseded by #104, but thanks @omerbn!

@cwacek cwacek closed this Nov 5, 2017
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