Closed as not planned
Description
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
Given
const RunMe = <T extends { new (...args: any[]): {} }>(ctr: T) => class Ran extends ctr {
constructor(...args: any[]) {
super(...args);
debugger;
}
}
@Component({ .. })
@RunMe
class SomeComponent { }
With the devtools open it should stop inside the Ran constructor.
Angular 16 works, Angular 17 doesn't
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/angular-bapqxf?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 CLI: 17.0.3
Node: 18.18.0
Package Manager: npm 9.8.1
OS: darwin arm64
Angular: 17.0.4
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.3
@angular-devkit/build-angular 17.0.3
@angular-devkit/core 17.0.3
@angular-devkit/schematics 17.0.3
@angular/cli 17.0.3
@schematics/angular 17.0.3
ng-packagr 17.0.2
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.2
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels