Bit32.replace is misdocumented

Issue Description
bit32.replace accepts 4 parameters:

n: number
v: number
field: number
width: number?

the developer hub is missing the v: number parameter.

If I had to guess, this occurred because it is very similar to the bit32.extract documentation (which is directly above it and doesn’t have the v: number parameter.

Small aside, this is directly causing selene to conflict with RobloxLSP:

Issue Area: DevHub Content
Page URL: bit32

2 Likes

Thanks for your report! We’ve triaged the issue and will follow up when it has been resolved.

3 Likes

This issue has been resolved! If you don’t see the changes, please allow some time for them to propagate.

1 Like

This topic was automatically closed after 24 hours. New replies are no longer allowed.