Check that using a class task through an object method call in expression context reports a compile/elaboration error instead of triggering an assert. Signed-off-by: Lars-Peter Clausen <[email protected]>