Merge pull request #20545 from RyanCavanaugh/codefixOmnibus

Omnibus fixes for telemetry-sourced crashes
This commit is contained in:
Ryan Cavanaugh
2017-12-13 12:49:58 -08:00
committed by GitHub
7 changed files with 55 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
/// <reference path='fourslash.ts' />
// @noImplicitAny: true
//// function f(/*1*/x) {
//// }
//// f(
verify.not.codeFixAvailable([]);

View File

@@ -0,0 +1,7 @@
/// <reference path='fourslash.ts' />
// @noImplicitAny: true
//// function f(new C(100, 3, undefined)
verify.not.codeFixAvailable([]);

View File

@@ -0,0 +1,7 @@
/// <reference path='fourslash.ts' />
// @noImplicitAny: true
//// function ...q) {}} f(10);
verify.not.codeFixAvailable([]);

View File

@@ -0,0 +1,6 @@
/// <reference path="fourslash.ts" />
// @noImplicitAny: true
//// function f(y, z = { p: y[
verify.getAndApplyCodeFix();