Skip to content
Discussion options

You must be logged in to vote

Hi.

Thanks for your question. This is a known limitation of how we resolve delegate calls (we do not track delegates stored in collections). If it instead had been

classDelegateRegistry{publicstaticreadonlySimpleDelegated=null;publicstaticvoidRegister(SimpleDelegatedel){d=del;}}

then it ought to work (we do track delegates stored in fields).

I have been wanting to improve this for some time, but it has not yet been a priority.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Hug0Vincent
Comment options

Comment options

You must be logged in to vote
1 reply
@Hug0Vincent
Comment options

Answer selected byHug0Vincent
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@Hug0Vincent@hvitved@jketema