Title: Revisit 'Compiler.GetRedirectedExpression' to see if it's possible to generate less complicated code · Issue #4879 · PowerShell/PowerShell · GitHub
Open Graph Title: Revisit 'Compiler.GetRedirectedExpression' to see if it's possible to generate less complicated code · Issue #4879 · PowerShell/PowerShell
X Title: Revisit 'Compiler.GetRedirectedExpression' to see if it's possible to generate less complicated code · Issue #4879 · PowerShell/PowerShell
Description: The way we handle redirections for CommandExpressionAst generates too complicated code. It's better to revisit the implementation to see if it's possible to move most of this logic into a helper method and avoid generating so much compli...
Open Graph Description: The way we handle redirections for CommandExpressionAst generates too complicated code. It's better to revisit the implementation to see if it's possible to move most of this logic into a helper me...
X Description: The way we handle redirections for CommandExpressionAst generates too complicated code. It's better to revisit the implementation to see if it's possible to move most of this logic into a h...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4879
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Revisit 'Compiler.GetRedirectedExpression' to see if it's possible to generate less complicated code","articleBody":"The way we [handle redirections for CommandExpressionAst](https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/parser/Compiler.cs#L3142) generates too complicated code. It's better to revisit the implementation to see if it's possible to move most of this logic into a helper method and avoid generating so much complicated code.\r\n\r\nBackground: see the comment https://github.com/PowerShell/PowerShell/pull/4847#pullrequestreview-64065264","author":{"url":"https://github.com/daxian-dbw","@type":"Person","name":"daxian-dbw"},"datePublished":"2017-09-20T20:25:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4879/PowerShell/issues/4879"}
| 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:34ed176c-6f4e-811d-a28a-20a4d9b1602a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80B2:56E6:1292BE9:18CD72A:6A5836CD |
| html-safe-nonce | ca8949c9a4149de60f81ad44a82d51837cb265c4803d8110ef0106a589e7e3e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEIyOjU2RTY6MTI5MkJFOToxOENENzJBOjZBNTgzNkNEIiwidmlzaXRvcl9pZCI6IjcxNjc1MjA4MjY0MDkzNjcyNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 084421e77204491168d501e27788478b17a876b4d9c0d094e0a31cb1f7366527 |
| hovercard-subject-tag | issue:259290707 |
| 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/PowerShell/PowerShell/4879/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41bf1b74ddf637cc5037595613ed0444edbac44efc4ea3af7ce87c22ebc9ce29/PowerShell/PowerShell/issues/4879 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41bf1b74ddf637cc5037595613ed0444edbac44efc4ea3af7ce87c22ebc9ce29/PowerShell/PowerShell/issues/4879 |
| og:image:alt | The way we handle redirections for CommandExpressionAst generates too complicated code. It's better to revisit the implementation to see if it's possible to move most of this logic into a helper me... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 7d699f0c51c1f58938601870a21967b74eaad94d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width