|
|
|
|
|
by Nullabillity
2046 days ago
|
|
Not even the compiler knows, since interfaces are resolved at runtime. You could build a list of potential implementations, but then structural typing means that it can't know the difference between an intentional and accidental implementation. |
|