https://kotlinlang.org logo
j

jshmrsn

03/14/2016, 6:29 PM
@yole: I did find the documentation on this slightly misleading (though ultimately accurate). The documentation refers to primary and secondary constructors. Without reading the documentation I would have assumed "primary constructors" meant constructors which do not call other constructors via 'this', and "secondary constructors" meant constructors which do call other constructors via this.