angular: @Input and @Output bound to the same signal can produce an error

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

Please take a look at this: https://stackblitz.com/edit/angular-srfuv9?file=src%2Fmain.ts

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-srfuv9?file=src%2Fmain.ts

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

Angular 16.1

Anything else?

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Take your time. I can give a hint: there are multiple components doing this “anti-pattern”, and there is nothing wrong with it. I could spend some of my time finding examples for you, but you already demonstrated that you don’t value my time, so it’s on you.