A decorator can be a function that takes a perform as an argument and returns a closure. The closure is actually a set of interior functions and totally free variables. This appears to be just like this situation: Fake "Property would not exist on kind 'never ever'" when altering value https://plotsinsohna.in/