when using PcgRandom's next function the application crashes.
Code: Select all
print ("----- Test starts.")
local pcg = PcgRandom(os.time())
print ("----- generated pcg.")
local value = pcg:next();
print ("----- Help me I am never printed!")
print ("----- value="..tostring(value)..".")
Spoiler
Code: Select all
-------------
Separator
-------------
----- Test starts.
----- generated pcg.
on windows.
Steps to reproduce:
o Set ... games\minimal\mods\test\init.lua to the code mentioned above.
o Run any game