Skip to content

Conversation

@qwwdfsad
Copy link
Member

…quired for IDEA integration (field is left as internal deliberately)

@qwwdfsad qwwdfsad requested a review from elizarov July 23, 2019 12:39
…quired for IDEA integration (field is left as internal deliberately)
@qwwdfsad qwwdfsad force-pushed the debug-agent-idea-fix branch from 4757879 to 14fa5a7 Compare July 23, 2019 12:40
Copy link
Contributor

@elizarov elizarov left a comment

Choose a reason for hiding this comment

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

Looks fragile, as the automatically-generated copy() still does not copy the thread info and this parameter-less one does. Please, either override automatically generated copy (add two optional parameters to the copy) or make the thread a part of data-class state.

@qwwdfsad
Copy link
Member Author

qwwdfsad commented Aug 5, 2019

I've decided to make CoroutineInfo non-data instead. Data class doesn't have any value here but generates toString/hc/eq with a pretty weird (and mostly useless) contract.

@qwwdfsad qwwdfsad force-pushed the debug-agent-idea-fix branch from 4d5e2e0 to 80c8054 Compare August 5, 2019 16:04
@qwwdfsad qwwdfsad requested a review from elizarov August 5, 2019 17:00
@qwwdfsad qwwdfsad merged commit 0172998 into develop Aug 9, 2019
@qwwdfsad qwwdfsad deleted the debug-agent-idea-fix branch August 9, 2019 14:36
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.

3 participants