profile
viewpoint
Andrew Ahearne andokai L&A Consultants London

startedjpuri/draftjs-to-html

started time in 8 days

startedLuisThein/platform_maps_flutter

started time in 15 days

startedtonyduanesmith/react-apple-mapkitjs

started time in 15 days

startedpanva/node-oidc-provider

started time in 18 days

startedsimplesteph/kafka-stack-docker-compose

started time in 19 days

startedimprobable-eng/grpc-web

started time in 19 days

startedhashicorp/vault

started time in 21 days

starteddenoland/deno

started time in 22 days

startedmongodb/mongodb-kubernetes-operator

started time in 23 days

startedfacebookexperimental/Recoil

started time in 25 days

starteddarcyclarke/Detect.js

started time in a month

startededenhill/kafkacat

started time in a month

startedvega/react-vega

started time in a month

issue commentmicrosoft/vscode

Incorrectly marking a declaration as unused

No worries, thanks for investigating!

andokai

comment created time in a month

issue commentmicrosoft/vscode

Incorrectly marking a declaration as unused

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

Yes it does

andokai

comment created time in a month

issue openedmicrosoft/vscode

Incorrectly marking a declaration as unused

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

Apologies if this is the wrong repo for this.

<!-- Use Help > Report Issue to prefill these. -->

  • VSCode Version: 1.45.1
  • OS Version: Windows 10 & macOS

Steps to Reproduce:

The issue can be observed on CodeSandbox which I guess uses the same underlying code. https://codesandbox.io/s/lucid-http-qscl0?file=/src/App.js

CancelToken is being marked as an unused declaration when it clearly isn't and applying the quick fix breaks the code.

<!-- Launch with code --disable-extensions to check. --> Does this issue occur when all extensions are disabled?: Yes

created time in a month

startedoakserver/oak

started time in a month

startedNMathar/deno-express

started time in a month

starteddraft-js-plugins/draft-js-plugins

started time in 2 months

startedsstur/draft-js-utils

started time in 2 months

startedmongodb-js/vscode

started time in 2 months

startedmholt/PapaParse

started time in 2 months

startedgoogle/fonts

started time in 2 months

more