[Vala] warning: copying delegates is discouraged



Running valac from master, I'm seeing this warning pop up a lot:

warning: copying delegates is discouraged

Can someone explain the rationale for this?  (I'm guessing it has to do with
references.)

Are there any blessed workarounds (other than not copying delegates)?

-- Jim


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]