Skip to content

Conversation

@derek-miller
Copy link
Contributor

  • Renamed bit64.isInt64 to bit64.is_int64 for Lua naming convention consistency. The old name is retained as an alias for backward compatibility.
  • Enhanced bit64.to_number by adding input validation to accept only numeric values or valid Int64 objects created with bit64.new().
  • Updated bit64.from_number to allow Int64 values as direct pass-through.

- Rename bit64.isInt64 to bit64.is_int64 for Lua naming conventions
  (old name kept as alias for backwards compatibility)
- bit64.to_number now validates input and accepts only numbers or
  proper Int64 values created with bit64.new()
- bit64.from_number now accepts Int64 values as pass-through
@derek-miller derek-miller enabled auto-merge (squash) January 22, 2026 19:52
@derek-miller derek-miller merged commit 6f85485 into main Jan 22, 2026
8 checks passed
@derek-miller derek-miller deleted the fix/type-annotations branch January 22, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants