large refactors are typically mindless, repetitive work. The best way today imo is regex and multi-cursor. But it’d be perfect for copilot with a little direction
it should literally read the text from the problems menu wrapped in a prompt. I’m not good at writing prompts but
“You are an engineer attempting to compile some $language code but the compiler showed the following error
‘$err’
The $language code to fix this error is
“
It would save a meaningful amount of memory if it could reuse it
I need to read the spec more closely to understand the expected behavior. Cloning is bad though. It uses extra memory unnecessarily.
NaN is treated as Number.MIN_SAFE_INTEGER
Infinity is treated as Number.MAX_SAFE_INTEGER
Blob.slice() from Number.MIN_SAFE_INTEGER to Number.MAX_SAFE_INTEGER clamps to the min/max sizes