fansh> [concurrent::ActorPool#maxThreads: 100].toImmutable
fansh> Field.makeSetFunc([concurrent::ActorPool#maxThreads: 100].toImmutable).toImmutable
It seems to me that any Func made with Field.makeSetFunc should be immutable, especially if the input map is immutable.
As a workaround, I have to wrap the resulting Func in an Unsafe...because I know for a fact it's an immutable function.
Ticket promoted to #2857 and assigned to brian
Agree - I will take a look
Login or Signup to reply.