Repro
class Transform {
x: f64;
constructor() { this.x = 0.0; }
}
const t = new Transform();
error: unsupported in the numeric subset: in fn `__rtsn_ctor_Transform`:
unsupported in the numeric subset: call to unknown function `__rtsn_ctor_Duplex`
A USER-DEFINED class named Transform resolves its ctor against the ambient Node stream shim Transform extends Duplex (rts-node) instead of the user class — and Duplex's ctor isn't wired, so compilation fails. Any project using this very common class name breaks (hit in practice by RTS-MINE's Transform GameObject component; workaround = rename to Transform3D).
Likely the same family as the current rts:node:crypto / rts:node:fs member-resolution failures visible in the suite (723/731 on main as of 2026-07-21): the node shim layer is registering ambient class names that shadow user declarations instead of user code winning.
Expected: a user class declaration always shadows an ambient/prelude class of the same name.
🤖 Encontrada durante a migração do RTS-MINE pro gpu3d.
https://claude.ai/code/session_011tUEJtE2DhLZPgEcT5g3mz
Repro
A USER-DEFINED class named
Transformresolves its ctor against the ambient Node stream shimTransform extends Duplex(rts-node) instead of the user class — andDuplex's ctor isn't wired, so compilation fails. Any project using this very common class name breaks (hit in practice by RTS-MINE'sTransformGameObject component; workaround = rename toTransform3D).Likely the same family as the current
rts:node:crypto/rts:node:fsmember-resolution failures visible in the suite (723/731 on main as of 2026-07-21): the node shim layer is registering ambient class names that shadow user declarations instead of user code winning.Expected: a user class declaration always shadows an ambient/prelude class of the same name.
🤖 Encontrada durante a migração do RTS-MINE pro gpu3d.
https://claude.ai/code/session_011tUEJtE2DhLZPgEcT5g3mz