https://kotlinlang.org logo
c

christophsturm

07/18/2016, 1:49 PM
if i change the code to
val unused : DropwizardExports = DropwizardExports(metricRegistry).register(prometheusRegistry)
it works, but idea complains that the variable is unused. if i remove it kotlin complains that it can’t infer the type