[D1] Issue 13260 : ICE accessing non-existent member

Replaces assertion with an error. Does not change language
semantics but makes possible to check for presence of such
members in `is` expression.

Quite a big issue actually in absence of `__traits` :)