Title: OP_NOT OP_NOT optimisation · Issue #404 · CashScript/cashscript · GitHub
Open Graph Title: OP_NOT OP_NOT optimisation · Issue #404 · CashScript/cashscript
X Title: OP_NOT OP_NOT optimisation · Issue #404 · CashScript/cashscript
Description: // TODO: Enable this optimisation when we overhaul the type system // (right now bool(4) == true => false, but !!bool(4) == true => true) so can't replace OP_NOT OP_NOT with ''
Open Graph Description: // TODO: Enable this optimisation when we overhaul the type system // (right now bool(4) == true => false, but !!bool(4) == true => true) so can't replace OP_NOT OP_NOT with ''
X Description: // TODO: Enable this optimisation when we overhaul the type system // (right now bool(4) == true => false, but !!bool(4) == true => true) so can't replace OP_NOT OP_NOT with ''
Opengraph URL: https://github.com/CashScript/cashscript/issues/404
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OP_NOT OP_NOT optimisation","articleBody":"```js\n // TODO: Enable this optimisation when we overhaul the type system\n // (right now bool(4) == true =\u003e false, but !!bool(4) == true =\u003e true) so can't replace OP_NOT OP_NOT with ''\n```","author":{"url":"https://github.com/rkalis","@type":"Person","name":"rkalis"},"datePublished":"2026-05-19T10:16:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/404/cashscript/issues/404"}
| 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:f3f432a1-ab54-a013-d8aa-6af4cf2abcab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 939C:35F156:5487FD:79DE27:6A4CDACF |
| html-safe-nonce | e5d5a941e41f745118cac993698bd50ee95435608d8aeacf4009ae27676a263c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzlDOjM1RjE1Njo1NDg3RkQ6NzlERTI3OjZBNENEQUNGIiwidmlzaXRvcl9pZCI6IjIyNzU5NzY1NTU3NDUwNDExMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52e3bb8ccbffef9d47da8b5ea007a05009730b8dc5877fb558cdb252a05ec6b4 |
| hovercard-subject-tag | issue:4476500395 |
| 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/CashScript/cashscript/404/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e81fe66354ee93923db1ea5dd2b44e57b3a3e4709b20a60c9762806d65ca605/CashScript/cashscript/issues/404 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e81fe66354ee93923db1ea5dd2b44e57b3a3e4709b20a60c9762806d65ca605/CashScript/cashscript/issues/404 |
| og:image:alt | // TODO: Enable this optimisation when we overhaul the type system // (right now bool(4) == true => false, but !!bool(4) == true => true) so can't replace OP_NOT OP_NOT with '' |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rkalis |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-preview |
| go-import | github.com/CashScript/cashscript git https://github.com/CashScript/cashscript.git |
| octolytics-dimension-user_id | 122381203 |
| octolytics-dimension-user_login | CashScript |
| octolytics-dimension-repository_id | 184497209 |
| octolytics-dimension-repository_nwo | CashScript/cashscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 184497209 |
| octolytics-dimension-repository_network_root_nwo | CashScript/cashscript |
| 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 | 3eeb74f55ccd8a31bdaec6839577c592bbf7844c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width