Open msjarrett opened 6 years ago
Seems like a bug, though the fix is to update the error-checking to disallow this case. As separate goal might be to support interfaces in records, though that would be a larger feature-request, and violate the "records are pure data" separation.
This compiles. But remove the optional<...> and you get: Interface reference cannot live in a record