GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(codemode): define Uint8Array BYTES_PER_ELEMENT by rekram1-node · Pull Request #64930 · anomalyco/opencode Conversation
Member
Summary
[Uint8Array.BYTES_PER_ELEMENT, new Uint8Array(1).BYTES_PER_ELEMENT, Buffer.BYTES_PER_ELEMENT, 4 * Uint8Array.BYTES_PER_ELEMENT] // Bun 1.4.4: [1, 1, 1, 4] // Code Mode before: [undefined, undefined, undefined, NaN] // Code Mode after: [1, 1, 1, 4] The property descriptors match Bun's ( Testing
Visual<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none" stroke="currentColor" font-family="ui-monospace,monospace" font-size="12"> <style> .c{animation:s 4s steps(1) infinite} .a{animation:o 4s infinite}.b{animation:o 4s infinite reverse} @keyframes s{0%{transform:translateX(0)}25%{transform:translateX(28px)}50%{transform:translateX(56px)}75%{transform:translateX(84px)}} @keyframes o{0%,45%{opacity:1}50%,95%{opacity:0}100%{opacity:1}} @media (prefers-reduced-motion:reduce){.c,.a,.b{animation:none}.a{opacity:0}.b{opacity:1}} </style> <g opacity=".45"><rect x="16" y="14" width="28" height="22"/><rect x="44" y="14" width="28" height="22"/><rect x="72" y="14" width="28" height="22"/><rect x="100" y="14" width="28" height="22"/></g> <rect class="c" x="16" y="14" width="28" height="22" fill="currentColor" fill-opacity=".25" stroke-width="2"/> <g fill="currentColor" stroke="none"> <text x="16" y="56" opacity=".6">BYTES_PER_ELEMENT</text> <text x="146" y="30" opacity=".6">step:</text> <text class="a" x="186" y="30" opacity=".5">NaN</text> <text class="b" x="186" y="30" font-weight="bold">1</text> </g> </svg>
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good. On the base branch, the PR's new test fails: The constant is defined with the existing Public API: unchanged. The change only affects Code Mode's sandboxed runtime: no SDK, HTTP API, plugin, config or CLI surface is touched.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
kommander
added a commit
that referenced
this pull request
…NT from #64930 Class declarations and expressions with constructors only new may call, instance and static methods, accessors and fields, extends of classes and Error types, super(...) and super.x reads, writes, calls, compound assignments and deletes (also in object literal methods), home objects, derived constructors' this before super() and their return rules, Function.prototype's restricted caller and arguments, class names in console.log, and the reference's texts for refused class syntax, decorators and private names. An element read or written with an object key now calls a program getter or setter, and a function under a computed key is named by it. Uint8Array, its prototype and Buffer get BYTES_PER_ELEMENT. #64919 changes only test hooks. Recordings regenerated from the reference, with class cases from its tests.
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |