Skip to content

Foreach Begin/Process/End awareness #1031

Description

@jrich523

To start off, this is directly from VS Code, I havent tested it anywhere else or in any other way.

VS Code: 1.24.1
Powershell plugin: 1.7.0

A simple statement like this

$collection | %{ $myVar = 0 }{ $myvar += $_}{$myVar}

obviously this is a worthless bit of code, however it complains that myVar is declared but never used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions