cygnus
07/24/2017, 4:42 PMdiesieben07
07/24/2017, 4:42 PMcygnus
07/24/2017, 4:42 PMcygnus
07/24/2017, 4:42 PMcygnus
07/24/2017, 4:43 PMcygnus
07/24/2017, 4:43 PMcygnus
07/24/2017, 4:49 PMRuckus
07/24/2017, 4:52 PMsomeListObject
, you would just use someListObject.add(...)
cygnus
07/24/2017, 4:57 PMgabrielfv
07/24/2017, 6:30 PMjlleitschuh
07/24/2017, 7:47 PMType mismatch: cannot convert from element type ExtendedSimpleLink to SimpleLink
I have a type hierarchy where ExtendedSimpleLink extends LinkDecorator
where ExtendedSimpleLink
is java compiled with aspectj and LinkDecorator
is written in kotlin and compiled in another project.
LinkDecorator
looks like this:
abstract class LinkDecorator(
private val decorated : SimpleLink
) : SimpleLink by decorated {
override fun hashCode(): Int = decorated.hashCode()
override fun equals(other: Any?): Boolean = decorated == other
}
I have no idea why the aspectj compiler can't figure out the type hierarchy.
It should be looking at the bytecode for LinkDecorator
and saying that obviously ExtendedSimpleLink
is an instance of a SimpleLink
.jlleitschuh
07/24/2017, 8:32 PMpakoito
07/24/2017, 11:21 PMpakoito
07/24/2017, 11:21 PMpakoito
07/24/2017, 11:37 PMkrtko
07/24/2017, 11:58 PMs952163
07/25/2017, 12:00 AMs952163
07/25/2017, 12:00 AMs952163
07/25/2017, 12:00 AMkarelpeeters
07/25/2017, 12:01 AMs952163
07/25/2017, 12:01 AMPasted image at 2017-07-25, 9:01 AM▾
pakoito
07/25/2017, 12:07 AMThe hipster programming languages Kotlin, Elixir and Hack didn’t progress much this month.
jw
07/25/2017, 12:17 AMevanchooly
07/25/2017, 5:57 AMcodematix
07/25/2017, 6:56 AMcodematix
07/25/2017, 6:57 AMfun invoke(work : () -> Unit) {
// invoke work using reflection
}
egoscio
07/25/2017, 6:57 AMkarelpeeters
07/25/2017, 6:58 AMcodematix
07/25/2017, 6:59 AM