Extend runtime callables to interface members with default implementation

This commit is contained in:
Tamas Vajk
2021-08-17 14:32:45 +02:00
parent 39a88d2e43
commit 270b56af1b

View File

@@ -15,7 +15,10 @@ private import dotnet
class RuntimeCallable extends DotNet::Callable {
RuntimeCallable() {
not this.(Modifiable).isAbstract() and
not getDeclaringType() instanceof Interface
(
not getDeclaringType() instanceof Interface or
this.(Virtualizable).isVirtual()
)
}
}