groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milles, Eric (TR Technology & Ops)" <eric.mil...@thomsonreuters.com>
Subject Re: [DISCUSS] trait behavior with instance and static methods of otherwise same signature
Date Fri, 03 Aug 2018 15:03:34 GMT
Shouldn't an instance method always win out over a static method?  I too would always expect
a compile error for attempting to override static with instance method or vice-versa.


What would/should happen if trait adds method in future that is in conflict with legal compiled
state of implementing class?

Mime
View raw message