Mercurial > projects > dwt2
diff base/src/java/lang/Character.d @ 110:5d01af878529
Updated to latest Tango.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 12 Nov 2010 13:16:02 +0100 |
parents | 5d5bd660917f |
children | 9f4c18c268b2 |
line wrap: on
line diff
--- a/base/src/java/lang/Character.d Wed Sep 15 16:42:28 2010 +0200 +++ b/base/src/java/lang/Character.d Fri Nov 12 13:16:02 2010 +0100 @@ -6,6 +6,7 @@ version(Tango){ static import tango.text.Unicode; + static import tango.text.UnicodeData; } else { // Phobos static import std.utf; static import std.uni; @@ -154,7 +155,7 @@ bool CharacterIsDefined( dchar ch ){ version(Tango){ - return (ch in tango.text.UnicodeData.unicodeData) !is null; + return tango.text.UnicodeData.getUnicodeData(ch) !is null; } else { // Phobos implMissing( __FILE__, __LINE__); return false;