https://kotlinlang.org logo
l

LastExceed

10/27/2021, 3:56 PM
especially on properties it seems so redundant to have
val x: fully.qualified.path.to.MyClass = <http://fully.qualified.path.to|fully.qualified.path.to>.MyClass()
instead of just
val x = MyClass()
im looking through the tests rn but so far havent found anything like this edit: turns out you can if u use an empty string as packageName. kinda hacky but it works