Skip to content

Revisit 'Compiler.GetRedirectedExpression' to see if it's possible to generate less complicated code #4879

@daxian-dbw

Description

@daxian-dbw

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 complicated code.

Background: see the comment #4847 (review)

Metadata

Metadata

Assignees

Labels

Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityResolution-No ActivityIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtime

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions