Join Slack
Powered by
I cannot understand what's going on in the declara...
# getting-started
l
Leeeloo Minai
01/30/2018, 7:57 PM
I cannot understand what's going on in the declaration of Filter here:
https://github.com/http4k/http4k/blob/master/http4k-core/src/main/kotlin/org/http4k/core/Http4k.kt
To make it worse, when I isolated that declaration and tried to compile it, the compiler insists that "'invoke' overrides nothing". Here's my simple test:
http://rextester.com/live/FQUC99965
So now I am stuck - I noticed that inheritance hierarchy in IntelliJ mentions some Function1 interface that seems not to be inherited there (but just spitballing here.)
Open in Slack
Previous
Next