yeah I don't think this is compose-specific. It's letting you refer to the property of the class that you're declaring in its own initializer expression
Adam Powell
03/26/2021, 1:51 AM
and its delegate is predictably null while it's running that initializer expression to create that delegate
Adam Powell
03/26/2021, 1:51 AM
out of context it's not unusual to have that exact line of code...when there's also a primary constructor parameter with the same name
r
Rick Regan
03/26/2021, 2:03 AM
That's how I ran across it -- I deleted the constructor parameter without changing anything else. Thanks.