Title: Salsa does not flag ReferenceErrors in strict mode · Issue #6652 · microsoft/TypeScript · GitHub
Open Graph Title: Salsa does not flag ReferenceErrors in strict mode · Issue #6652 · microsoft/TypeScript
X Title: Salsa does not flag ReferenceErrors in strict mode · Issue #6652 · microsoft/TypeScript
Description: From alexandrudima on January 27, 2016 13:44 Testing #2218 From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode "use strict"; // Assuming a global variable mistypedVariable exists mistypedVaraible = 17; // t...
Open Graph Description: From alexandrudima on January 27, 2016 13:44 Testing #2218 From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode "use strict"; // Assuming a global variable mistypedVar...
X Description: From alexandrudima on January 27, 2016 13:44 Testing #2218 From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode "use strict"; // Assuming a global variable m...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6652
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Salsa does not flag ReferenceErrors in strict mode","articleBody":"_From @alexandrudima on January 27, 2016 13:44_\n\nTesting #2218 \n\nFrom https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode\n\n``` javascript\n\"use strict\";\n // Assuming a global variable mistypedVariable exists\nmistypedVaraible = 17; // this line throws a ReferenceError due to the \n // misspelling of variable\n```\n\nWhen I run it with node v0.12.7 I do get a `ReferenceError`:\n\n```\nc:\\Alex\\working_dir\\salsa\\strict.js:3\nmistypedVaraible = 17; // this line throws a ReferenceError due to the\n ^\nReferenceError: mistypedVaraible is not defined\n at Object.\u003canonymous> (c:\\Alex\\working_dir\\salsa\\strict.js:3:18)\n at Module._compile (module.js:460:26)\n at Object.Module._extensions..js (module.js:478:10)\n at Module.load (module.js:355:32)\n at Function.Module._load (module.js:310:12)\n at Function.Module.runMain (module.js:501:10)\n at startup (node.js:129:16)\n at node.js:814:3\n```\n\nI expect Salsa to flag as much as possible of runtime errors, including strict mode reference errors\n\n_Copied from original issue: Microsoft/vscode#2450_\n","author":{"url":"https://github.com/egamma","@type":"Person","name":"egamma"},"datePublished":"2016-01-27T16:43:51Z","url":"https://github.com/microsoft/TypeScript/issues/6652"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:214a8612-9844-f937-8d60-eb50768880b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 894E:3A73AA:128960E:176F4D7:6B015AFB |
| html-safe-nonce | b5928b59549383214c896a17bb02b4a03a254d3836516d70bfef610525ddc34e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTRFOjNBNzNBQToxMjg5NjBFOjE3NkY0RDc6NkIwMTVBRkIiLCJ2aXNpdG9yX2lkIjoiMTQ5NDgwNjI2MzI4Mjg4MzMyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 98c9c63650f3afb57893973ac9e63b944c0420aaa9625f08c8415b01f1104dc0 |
| hovercard-subject-tag | issue:129202183 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/6652/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b8e41fe8647d93625d5f3dbc080f3d77bd1a3e5321f8ccada30c223950ae38e/microsoft/TypeScript/issues/6652 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b8e41fe8647d93625d5f3dbc080f3d77bd1a3e5321f8ccada30c223950ae38e/microsoft/TypeScript/issues/6652 |
| og:image:alt | From alexandrudima on January 27, 2016 13:44 Testing #2218 From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode "use strict"; // Assuming a global variable mistypedVar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | egamma |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width