Skip to content

Visual Studio crashes with Generics #12108

@falsandtru

Description

@falsandtru

TypeScript Version: 2.0.6

  1. clone https://github.com/falsandtru/pjax-api
  2. open the project via pjax-api.csproj
  3. open src/lib/dom.ts
  4. add the angle brackets for generics as follows
  5. move the cursor inside the angle brackets
  6. crash immediately
// add
  }, Object.assign<>({}, option, { capture: true }));
                    ^ cursor
// move
  }, Object.assign<>({}, option, { capture: true }));
                   ^ cursor

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions