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

嵌套结构造成stack overflow #156

Open
KingOfDuck opened this issue Jun 29, 2022 · 0 comments
Open

嵌套结构造成stack overflow #156

KingOfDuck opened this issue Jun 29, 2022 · 0 comments
Assignees

Comments

@KingOfDuck
Copy link

Reproducible Example

type Config struct {
	Indicator   *Indicator 
	Condition   *IndicatorNodeValueCondition
}

type Indicator struct {
	NodeValue     *NodeValue
	LeftNode      *Indicator
	RightNode     *Indicator
}

type NodeValue struct {
	Condition     *Condition
}

type Condition struct {
	Conditions       []*Condition
}

Description

copier.copy(config, originConfig)
@KingOfDuck KingOfDuck changed the title 嵌套结构造成死循环 嵌套结构造成stack overflow Jun 29, 2022
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

2 participants