Reports = missing between result type and function body.

A type cannot be refined when used as the result type of a function. However, when a = is missing between the result type and function body it might look refined.

Example:


  def test(): T {}

After the quick-fix is applied


  def test(): T = {}