https://kotlinlang.org logo
#compiler
Title
# compiler
m

Marc Knaup

02/08/2019, 1:53 PM
And another one in `@Metadata`:
Copy code
// at file-level
var x = 2
property has flag
HAS_SETTER
set property doesn't contain a setter parameter 🤔
u

udalov

02/08/2019, 9:23 PM
The reason it doesn't have a setter parameter has to do with the fact that the setter is default (
IS_NOT_DEFAULT
is false) I think, not with the fact that there's a setter
🙏 1
m

Marc Knaup

02/08/2019, 9:45 PM
Thanks, I assumed something like that and will simply derive most setter properties (like the type) from the getter.