Class Protocol: Cannot use mutating member on immutable value: 'self' is immutable
问题 I have protocol from framework public protocol BaseMappable { /// This function is where all variable mappings should occur. It is executed by Mapper during the mapping (serialization and deserialization) process. mutating func mapping(map: Map) } and i have my protocol with extension (default implementation) public protocol DtoResponseRequestActionable: class { func transferToResponceAction(_ dto: TransferToResponce) } extension DtoResponseRequestActionable where Self: BaseMappable { func