Title: static reflector should not throw when trying to simplify extend expressions · Issue #14154 · angular/angular · GitHub
Open Graph Title: static reflector should not throw when trying to simplify extend expressions · Issue #14154 · angular/angular
X Title: static reflector should not throw when trying to simplify extend expressions · Issue #14154 · angular/angular
Description: Currently the static reflector fails on cases like this: function metaClass() {...}; class X extends metaClass() {...} or let ctor: {new(): T} = function() { ... }; class X extends ctor { ... } When looking for annotations on X or its su...
Open Graph Description: Currently the static reflector fails on cases like this: function metaClass() {...}; class X extends metaClass() {...} or let ctor: {new(): T} = function() { ... }; class X extends ctor { ... } Whe...
X Description: Currently the static reflector fails on cases like this: function metaClass() {...}; class X extends metaClass() {...} or let ctor: {new(): T} = function() { ... }; class X extends ctor { ... } Whe...
Opengraph URL: https://github.com/angular/angular/issues/14154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"static reflector should not throw when trying to simplify extend expressions","articleBody":"Currently the static reflector fails on cases like this:\r\n\r\n```typescript\r\nfunction metaClass() {...};\r\nclass X extends metaClass() {...}\r\n```\r\nor\r\n```typescript\r\nlet ctor: {new(): T} = function() { ... };\r\nclass X extends ctor { ... }\r\n```\r\nWhen looking for annotations on X or its superclass chain, the static reflector fails. I would be preferable to not throw, but rather assume that extend expressions do not have annotations.\r\n\r\n//cc @alexeagle ","author":{"url":"https://github.com/rkirov","@type":"Person","name":"rkirov"},"datePublished":"2017-01-27T21:12:08Z","url":"https://github.com/angular/angular/issues/14154"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ad90ec47-27c6-50f5-8a41-80daf347c6c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D240:3D97C8:66FB26:8BA7F6:6B00D6F9 |
| html-safe-nonce | c1081ea055d0f17673d09ebf7b32bfe67d87ddf16f87816f56022e309ab6cc79 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjQwOjNEOTdDODo2NkZCMjY6OEJBN0Y2OjZCMDBENkY5IiwidmlzaXRvcl9pZCI6Ijg0NDU4NzM0MTQ5MzMxMDg0NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e2426c0089c424543231ea5c3265d50f96d94f968102377cafbf3a095f993cef |
| hovercard-subject-tag | issue:203741335 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/14154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c3f0bc2c271f4cfc1aa34aeeb4a25bab2dd369ca23ea095369d1c5de5921881/angular/angular/issues/14154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c3f0bc2c271f4cfc1aa34aeeb4a25bab2dd369ca23ea095369d1c5de5921881/angular/angular/issues/14154 |
| og:image:alt | Currently the static reflector fails on cases like this: function metaClass() {...}; class X extends metaClass() {...} or let ctor: {new(): T} = function() { ... }; class X extends ctor { ... } Whe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rkirov |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width