Local class bindings cannot be marked inline. Consider lifting the definition out of the class or else do not mark it as ...