Title: Range operator with char returns unexpected value · Issue #5731 · PowerShell/PowerShell · GitHub
Open Graph Title: Range operator with char returns unexpected value · Issue #5731 · PowerShell/PowerShell
X Title: Range operator with char returns unexpected value · Issue #5731 · PowerShell/PowerShell
Description: Steps to reproduce [char]'a'..[char]'e' Expected behavior # Char array ([char]'a', [char]'b', [char]'c', [char]'d', [char]'e') a b c d e Actual behavior # Int array (97, 98, 99, 100, 101) 97 98 99 100 101 Environment data > $PSVersionTab...
Open Graph Description: Steps to reproduce [char]'a'..[char]'e' Expected behavior # Char array ([char]'a', [char]'b', [char]'c', [char]'d', [char]'e') a b c d e Actual behavior # Int array (97, 98, 99, 100, 101) 97 98 99 ...
X Description: Steps to reproduce [char]'a'..[char]'e' Expected behavior # Char array ([char]'a', [char]'b', [char]'c', [char]'d', [char]'e') a b c d e Actu...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5731
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Range operator with char returns unexpected value","articleBody":"Steps to reproduce\r\n------------------\r\n\r\n```powershell\r\n[char]'a'..[char]'e'\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```powershell\r\n# Char array ([char]'a', [char]'b', [char]'c', [char]'d', [char]'e')\r\na\r\nb\r\nc\r\nd\r\ne\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```powershell\r\n# Int array (97, 98, 99, 100, 101)\r\n97\r\n98\r\n99\r\n100\r\n101\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-rc.2\r\nPSEdition Core\r\nGitCommitId v6.0.0-rc.2\r\nOS Microsoft Windows 10.0.15063\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```","author":{"url":"https://github.com/stknohg","@type":"Person","name":"stknohg"},"datePublished":"2017-12-21T04:32:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5731/PowerShell/issues/5731"}
| 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:c3958ef2-5ae1-cd52-16dd-5e6e4ab0077f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDB2:3AEA05:C5544A:10DAC0F:6A555FA0 |
| html-safe-nonce | 75d9bdeeaa5525f4cd123d76c3dd2f90f39940f40db48a78e7f32d5cab9b40c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREIyOjNBRUEwNTpDNTU0NEE6MTBEQUMwRjo2QTU1NUZBMCIsInZpc2l0b3JfaWQiOiI3MzI2NDgyODEwMTg5MjA5NTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aec5f48eb49b717bdd8ad8aed3fcbd34d975c852e1f8a6cf10a73ecb83d46315 |
| hovercard-subject-tag | issue:283770814 |
| 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/5731/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b627ab46c677d3b145c04676fa18efbc5b3388bc7283e6afedf684d2c450e04a/PowerShell/PowerShell/issues/5731 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b627ab46c677d3b145c04676fa18efbc5b3388bc7283e6afedf684d2c450e04a/PowerShell/PowerShell/issues/5731 |
| og:image:alt | Steps to reproduce [char]'a'..[char]'e' Expected behavior # Char array ([char]'a', [char]'b', [char]'c', [char]'d', [char]'e') a b c d e Actual behavior # Int array (97, 98, 99, 100, 101) 97 98 99 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stknohg |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 73595e82546ca2415571a2031890ab16ecb3001a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width