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

Attempt to fix recursion on display #2149

Merged
merged 1 commit into from
Nov 16, 2021
Merged

Attempt to fix recursion on display #2149

merged 1 commit into from
Nov 16, 2021

Conversation

mibes
Copy link
Contributor

@mibes mibes commented Nov 15, 2021

Description

Make Display on AttrValue non-recursive

Fixes #2148

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

@siku2 siku2 enabled auto-merge (squash) November 15, 2021 17:26
@siku2
Copy link
Member

siku2 commented Nov 15, 2021

I remember looking at this exact line of code and thinking something was off but didn't put it together at the time :)

@ranile
Copy link
Member

ranile commented Nov 16, 2021

I didn't even realize how this could go wrong. Good catch

Copy link
Contributor

@mc1098 mc1098 left a comment

Choose a reason for hiding this comment

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

Nice catch :)
Thank you for the contribution ❤️

@siku2 siku2 merged commit ee54bbd into yewstack:master Nov 16, 2021
@siku2
Copy link
Member

siku2 commented Nov 16, 2021

I didn't even realize how this could go wrong. Good catch

Why didn't your approval count O.o

@ranile
Copy link
Member

ranile commented Nov 16, 2021

I didn't even realize how this could go wrong. Good catch

Why didn't your approval count O.o

I don't have write access to the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-yew Area: The main yew crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display on AttrValue is calling itself recursively
6 participants