it is possible to declare a property private for s...
# announcements
d
it is possible to declare a property private for setting but public for getting in the main constructor? something like: var foo:Int = 0; private set but in the constructor. A coworker asked me that and I didn’t know wether it was possible, at least the obvious way (copying that to the constructor) did not work