Title: Negative hex literal int16 throws parse error · Issue #11823 · PowerShell/PowerShell · GitHub
Open Graph Title: Negative hex literal int16 throws parse error · Issue #11823 · PowerShell/PowerShell
X Title: Negative hex literal int16 throws parse error · Issue #11823 · PowerShell/PowerShell
Description: Steps to reproduce 0xACEDs Expected behavior -21267 Actual behavior ParserError: Line | 1 | 0xACEDs | ~ | The numeric constant 0xACEDs is not valid. Environment data Name Value ---- ----- PSVersion 7.0.0-rc.2 PSEdition Core GitCommitId 7...
Open Graph Description: Steps to reproduce 0xACEDs Expected behavior -21267 Actual behavior ParserError: Line | 1 | 0xACEDs | ~ | The numeric constant 0xACEDs is not valid. Environment data Name Value ---- ----- PSVersion...
X Description: Steps to reproduce 0xACEDs Expected behavior -21267 Actual behavior ParserError: Line | 1 | 0xACEDs | ~ | The numeric constant 0xACEDs is not valid. Environment data Name Value ---- ----- PSVersion...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11823
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Negative hex literal int16 throws parse error","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\n0xACEDs\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\n-21267\r\n```\r\n\r\n# Actual behavior\r\n\r\n```none\r\nParserError:\r\nLine |\r\n 1 | 0xACEDs\r\n | ~\r\n | The numeric constant 0xACEDs is not valid.\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-rc.2\r\nPSEdition Core\r\nGitCommitId 7.0.0-rc.2\r\nOS Microsoft Windows 10.0.18362\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/SeeminglyScience","@type":"Person","name":"SeeminglyScience"},"datePublished":"2020-02-10T18:22:59Z","url":"https://github.com/PowerShell/PowerShell/issues/11823"}
| 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:4561f58f-f45e-415c-c867-493467cb6372 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A65C:3DBAA9:28E685:37A1A0:6AFD535F |
| html-safe-nonce | 483ba51a5dfbbf3d8f5e2ae051cd42e6b4828f760b4edc18871b25ba2ac7ec33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjVDOjNEQkFBOToyOEU2ODU6MzdBMUEwOjZBRkQ1MzVGIiwidmlzaXRvcl9pZCI6IjEwNjM1NjcxODU3MDk3MTYzMjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cb62c5ba0e3e686b281fb855402e834770ddd16563f09708a77cc464ee2737c4 |
| hovercard-subject-tag | issue:562742860 |
| 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/PowerShell/PowerShell/11823/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8508e91dfc1ebe571402f665104a40682457ca087d9d2fdfe6d24bf9955f3601/PowerShell/PowerShell/issues/11823 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8508e91dfc1ebe571402f665104a40682457ca087d9d2fdfe6d24bf9955f3601/PowerShell/PowerShell/issues/11823 |
| og:image:alt | Steps to reproduce 0xACEDs Expected behavior -21267 Actual behavior ParserError: Line | 1 | 0xACEDs | ~ | The numeric constant 0xACEDs is not valid. Environment data Name Value ---- ----- PSVersion... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SeeminglyScience |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width