https://issues.dlang.org/show_bug.cgi?id=10899
Vladimir Panteleev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dlang-bugzilla@thecybershad | |ow.net Resolution|--- |WONTFIX --- Comment #1 from Vladimir Panteleev <[email protected]> --- Hmm, I don't think this is going to be implemented, because... - Historically the BDFLs have been opposed by compiler switches which change program behaviour. - Changing the RNG globally may break existing code which used Random with a fixed seed. - As you've mentioned, (In reply to Joseph Rushton Wakeling from comment #0) > Caveats: Could a build-local customization of Random have implications for > linking? I guess redefining the alias itself is not a problem but there > could also be problems with clashes in the namespace for rndGen. Random is an alias, so any symbols which have Random in their signature will have different mangling (and fully-resolved type) depending on the compile-time Random version selected. - This bug is close to 4 years old with no replies, so I doubt someone is going to start working on this now. --
