https://issues.dlang.org/show_bug.cgi?id=4541
Mathias Lang <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|phobos |dmd Resolution|FIXED |--- --- Comment #9 from Mathias Lang <[email protected]> --- I strongly disagree with closing this bug. > Even though using core.math results in link failure, I do not think this is a > problem since that is the runtime library and who uses it should know that > the functions declared there are intrinsics. Relying on user knowing of internal details is not a solution. Moreover, this doesn't take into account generic code. If one write a template that accept a static function via a template this argument, do you really expect this person to handle the case of someone passing an intrinsic explicitly ? Intrinsics shouldn't differ from regular functions. > Anyway, this is not a phobos bug anymore and I don't think it is a druntime > one either. Closing as fixed. The correct course of action would be to properly tag the bug as being within DMD. --
