Skip to content

Console crash when pasting parameter #1675

Closed
@ili101

Description

@ili101

Issue Type: Bug

  1. Create a new Untitled-1 Doc (PowerShell)
  2. paste this code
function Test-Params
{
    Param(
        $Param1,
        $Param2
    )
}
Test-Params -Param1
  1. Copy "Param2"
  2. paste it over "Param1" (in the line Test-Params -Param1)
    (if it's not crashing the first time repeat with "Param2")
  3. crash...

error

Extension version: 1.10.2
VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:07.165Z)
OS version: Windows_NT x64 10.0.17134

EditorServices.log

System Info
Item Value
CPUs AMD Ryzen 7 1800X Eight-Core Processor (16 x 3593)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.95GB (8.26GB free)
Process Argv
Screen Reader no
VM 0%

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