Conversation
Notices
-
HallÄ Kitteh (clacke@social.heldscal.la)'s status on Wednesday, 06-Sep-2017 02:00:11 UTC HallÄ Kitteh Possible in !dlang :
static assert(!__traits(compiles,{ ... }))
Assert that { ... } does not compile. In this case, that a scope is enforced properly.
https://github.com/nordlow/phobos-next/blob/cc4b53d5eec601ee39a691de05bc1478db1aa02f/src/soa.d#L216