Am I doing something wrong? This lazy is the norma...
# announcements
s
Am I doing something wrong? This lazy is the normal lazy from the kotlin stdlib
g
Looks like type inference algorithm is unable to infer the correct type. Using
lazy<JavaPluginLoader>
instead of
lazy
should fix that
l
Could it also be that there is a path where nothing is returned? If
fileAssociations.values
or if the
loader
is not an instance of
JavaPluginLoader
. You might want to make the lazy property nullable.