https://issues.dlang.org/show_bug.cgi?id=18002
--- Comment #2 from hst...@quickfur.ath.cx --- See the code I posted in issue #18003. The compiler should reject any attempt to pass a slice of a local variable to assert(). --
d-bugmail--- via Digitalmars-d-bugs Tue, 21 Nov 2017 12:12:17 -0800
https://issues.dlang.org/show_bug.cgi?id=18002
--- Comment #2 from hst...@quickfur.ath.cx --- See the code I posted in issue #18003. The compiler should reject any attempt to pass a slice of a local variable to assert(). --