Clang doesn't emit error message when return type of declared method is an abstract type. This error is catched when method is defined but it would be cool to catch it as soon as possible.
This patch removes check that prevented checking if method return type is abstract in record context. I also added additional test to prevent regression in this context.
Br,
Robert
This comment describes how this case is intended to be handled; we need more digging to figure out what's actually wrong here.