diff dwt/dwthelper/utils.d @ 36:db5a898b2119

Fixed a lot of compile errors
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 07 Oct 2008 12:56:18 +0200
parents 7d135fe0caf2
children 642f460a0908
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d	Sun Sep 14 23:32:29 2008 +0200
+++ b/dwt/dwthelper/utils.d	Tue Oct 07 12:56:18 2008 +0200
@@ -25,11 +25,9 @@
 alias bool boolean;
 alias char[] String;
 alias tango.text.Text.Text!(char) StringBuffer;
-alias opEquals equals;
 
 alias PlatformException Error;
 alias Exception Throwable;
-alias Exception RuntimeException;
 
 alias ClassInfo Class;
 
@@ -573,7 +571,7 @@
 }
 
 public size_t length(T)(T arr){
-    return str.length;
+    return arr.length;
 }
 
 public String replace( String str, char from, char to ){