diff options
Diffstat (limited to 'development/vscode/vscode-1.8.1.patch')
-rw-r--r-- | development/vscode/vscode-1.8.1.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/development/vscode/vscode-1.8.1.patch b/development/vscode/vscode-1.8.1.patch new file mode 100644 index 0000000000000..dd6e3475cf5cd --- /dev/null +++ b/development/vscode/vscode-1.8.1.patch @@ -0,0 +1,36 @@ +From f9ce2e16fcfb3699af9596d8f1e28a3ee8e27171 Mon Sep 17 00:00:00 2001 +From: Benjamin Pasero <benjpas@microsoft.com> +Date: Mon, 9 Jan 2017 18:13:23 +0100 +Subject: [PATCH] fix compile errors + +--- + extensions/vscode-api-tests/src/window.test.ts | 2 +- + extensions/vscode-api-tests/src/workspace.test.ts | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/extensions/vscode-api-tests/src/window.test.ts b/extensions/vscode-api-tests/src/window.test.ts +index 5cf72dd..9273df4 100644 +--- a/extensions/vscode-api-tests/src/window.test.ts ++++ b/extensions/vscode-api-tests/src/window.test.ts +@@ -315,7 +315,7 @@ suite('window namespace tests', () => { + assert.equal(terminal.name, 'foo'); + + assert.throws(() => { +- terminal.name = 'bar'; ++ (<any>terminal).name = 'bar'; + }, 'Terminal.name should be readonly'); + }); + +diff --git a/extensions/vscode-api-tests/src/workspace.test.ts b/extensions/vscode-api-tests/src/workspace.test.ts +index b963ab6..0b4e2c0 100644 +--- a/extensions/vscode-api-tests/src/workspace.test.ts ++++ b/extensions/vscode-api-tests/src/workspace.test.ts +@@ -24,7 +24,7 @@ suite('workspace-namespace', () => { + assert.equal(config['config0'], true); + assert.equal(config['config4'], ''); + +- assert.throws(() => config['config4'] = 'valuevalue'); ++ assert.throws(() => (<any>config)['config4'] = 'valuevalue'); + + assert.ok(config.has('nested.config1')); + assert.equal(config.get('nested.config1'), 42); |