Title: [ BUG ] String compare broken on sub-strings · Issue #1582 · AssemblyScript/assemblyscript · GitHub
Open Graph Title: [ BUG ] String compare broken on sub-strings · Issue #1582 · AssemblyScript/assemblyscript
X Title: [ BUG ] String compare broken on sub-strings · Issue #1582 · AssemblyScript/assemblyscript
Description: Here is an example of comparing the string "1" and "10", and it is never the case that is either less than, greater than, or equal to. I would expect "1" to be less than "10" :)
Open Graph Description: Here is an example of comparing the string "1" and "10", and it is never the case that is either less than, greater than, or equal to. I would expect "1" to be less than "10" :)
X Description: Here is an example of comparing the string "1" and "10", and it is never the case that is either less than, greater than, or equal to. I would expect "1" to be less th...
Opengraph URL: https://github.com/AssemblyScript/assemblyscript/issues/1582
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ BUG ] String compare broken on sub-strings","articleBody":"\u003c!--\r\n Thanks for submitting an issue to AssemblyScript! Please take a moment to\r\n read the contributing guidelines linked below to get off to a good start 🙂\r\n-->\r\n\r\n[Here is an example](https://www.assemblyscript.org/editor.html#IyFvcHRpbWl6ZT1ub25lJnJ1bnRpbWU9bm9uZQovKiogQ2FsY3VsYXRlcyB0aGUgbi10aCBGaWJvbmFjY2kgbnVtYmVyLiAqLwpleHBvcnQgZnVuY3Rpb24gZmliKG46IGkzMik6IGkzMiB7CiAgbGV0IG9uZSA9ICIxIjsKICBsZXQgdGVuID0gIjEwIjsKICByZXR1cm4gb25lIDwgdGVuIHx8IG9uZSA+IHRlbiB8fCBvbmUgPT0gdGVuOwp9CiMhaHRtbAo8dGV4dGFyZWEgaWQ9Im91dHB1dCIgc3R5bGU9ImhlaWdodDogMTAwJTsgd2lkdGg6IDEwMCUiIHJlYWRvbmx5PjwvdGV4dGFyZWE+CjxzY3JpcHQ+CmxvYWRlci5pbnN0YW50aWF0ZShtb2R1bGVfd2FzbSwgeyAvKiBpbXBvcnRzICovIH0pCiAgLnRoZW4oKHsgZXhwb3J0cyB9KSA9PiB7CiAgICBjb25zdCBvdXRwdXQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnb3V0cHV0JykKICAgIGZvciAobGV0IGkgPSAwOyBpIDw9IDEwOyArK2kpIHsKICAgICAgb3V0cHV0LnZhbHVlICs9IGBmaWIoJHtpfSkgPSAke2V4cG9ydHMuZmliKGkpfVxuYAogICAgfQogIH0pCjwvc2NyaXB0Pg==) of comparing the string \"1\" and \"10\", and it is never the case that is either less than, greater than, or equal to. I would expect \"1\" to be less than \"10\" :)\r\n","author":{"url":"https://github.com/thisisjoshford","@type":"Person","name":"thisisjoshford"},"datePublished":"2020-12-14T22:16:10Z","url":"https://github.com/AssemblyScript/assemblyscript/issues/1582"}
| 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:3f637df9-d00f-70f7-f1c7-101258c8a4c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 862A:39D41C:75BFCA:A2B770:6B009E78 |
| html-safe-nonce | 28c05c7bec181e6d73e3d43c8ca17f573f9ca41da93ef3f80b58d7a93dcfe7b5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjJBOjM5RDQxQzo3NUJGQ0E6QTJCNzcwOjZCMDA5RTc4IiwidmlzaXRvcl9pZCI6IjI3Njk3NjQ4NTU5NDYwMzEyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30942c1828221f6c6d8c12657365d5314f4d6854f0004559b822b96fb45475b3 |
| hovercard-subject-tag | issue:766975124 |
| 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/AssemblyScript/assemblyscript/1582/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e3d9e991cff3934e4682ac255b42ea91f6b5b51672f3c30a45e25aa124146e8/AssemblyScript/assemblyscript/issues/1582 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e3d9e991cff3934e4682ac255b42ea91f6b5b51672f3c30a45e25aa124146e8/AssemblyScript/assemblyscript/issues/1582 |
| og:image:alt | Here is an example of comparing the string "1" and "10", and it is never the case that is either less than, greater than, or equal to. I would expect "1" to be less than "10" :) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thisisjoshford |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| turbo-cache-control | no-preview |
| go-import | github.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git |
| octolytics-dimension-user_id | 28916798 |
| octolytics-dimension-user_login | AssemblyScript |
| octolytics-dimension-repository_id | 105138356 |
| octolytics-dimension-repository_nwo | AssemblyScript/assemblyscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105138356 |
| octolytics-dimension-repository_network_root_nwo | AssemblyScript/assemblyscript |
| 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 | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width