We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b6da3c commit 714f19aCopy full SHA for 714f19a
tests/gireg.lua
@@ -195,7 +195,10 @@ function gireg.type_uint64()
195
check(not pcall(R.test_uint64, {}))
196
check(not pcall(R.test_uint64, function() end))
197
198
- checkv(R.test_uint64(0xffffffffffffffff), 0xffffffffffffffff, 'number')
+ -- With integer underflows, this actually works.
199
+ if nativeIntegers then
200
+ checkv(R.test_uint64(0xffffffffffffffff), 0xffffffffffffffff, 'number')
201
+ end
202
-- See comment above about lossy conversions.
203
--check(not pcall(R.test_uint64, 0x10000000000000000))
204
end
0 commit comments