Mercurial > projects > dwt2
diff java/src/java/util/AbstractMap.d @ 21:9b96950f2c3c
the 'java' tree compiles on both D1-Tango and D2-Phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 19 Mar 2009 20:38:55 +0100 |
parents | eb8ff453285d |
children |
line wrap: on
line diff
--- a/java/src/java/util/AbstractMap.d Wed Mar 18 12:10:17 2009 +0100 +++ b/java/src/java/util/AbstractMap.d Thu Mar 19 20:38:55 2009 +0100 @@ -26,9 +26,9 @@ } abstract Set entrySet(); - public override int opEquals(Object o){ + public override equals_t opEquals(Object o){ if( Map other = cast(Map)o){ - return entrySet().opEquals( cast(Object) other.entrySet() ); + return cast(equals_t)entrySet().opEquals( cast(Object) other.entrySet() ); } return false; }