Eugen Martynov
05/23/2023, 3:56 PMSmart cast to 'LinkOrigin.ActionButtonLink' is impossible, because 'event.origin' is a public API property declared in different module
LinkOrigin
is sealed class in the different module indeed. But why is it the problem?Klitos Kyriacou
05/23/2023, 4:45 PMorigin
property is defined in a different module, which is separately compiled, and therefore the compiler can't be sure that repeated accesses of this property will return the same value.Eugen Martynov
05/23/2023, 8:57 PMKlitos Kyriacou
05/24/2023, 8:31 AMEugen Martynov
05/24/2023, 8:36 AM