Example for Mir-Random fails
Brad
bjazmoore at outlook.com
Sat Apr 3 22:07:00 UTC 2021
On Saturday, 3 April 2021 at 20:55:40 UTC, Preetpal wrote:
> On Saturday, 3 April 2021 at 19:02:34 UTC, Brad wrote:
>> Obviously it is a type mismatch - I have tried using to!uint
>> to convert the result from unpredictableSeed to a type that
>> will match - but that just causes more errors.
>>
>> Thank you in advance.
>
> I was able to compile the sample without any issue and it was
> able to run. Can you give more information about your
> environment and possibly create a minimal example that
> re-creates the issue like in a Github repository?
I figured out that I had not purged all the Phobos random imports
from my code and the issue was related to the two libraries not
playing well together.
It is working now.
Interestingly though - the example code will not compile in the D
Playground. I am not going to worry about that. It is working
for me now.
Thanks
More information about the Digitalmars-d-learn
mailing list