[SR-8758] empty implementation of RandomNumberGenerator compiles and overflows stack #51266
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Xcode 10 GM Seed
Version 10.0 (10A254a)
Additional Detail from JIRA
md5: e7216ce650b084d0193678acab1893b4
Issue Description:
Paste the following into the Swift REPL:
It seems like it should not be possible to conform to
RandomNumberGenerator
without implementing something. But the code compiles and then (after a bit) crashes:(approximately 247,000 stack frames omitted)
The text was updated successfully, but these errors were encountered: