ncannasse 9 éve
szülő
commit
8abef5b267
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      hxd/UString.hx

+ 4 - 0
hxd/UString.hx

@@ -12,6 +12,10 @@ abstract UString(String) from String to String {
 		#end
 		#end
 	}
 	}
 
 
+	@:op(a + b) inline static function add( a : UString, b : UString ) : String {
+		return (a:String) + (b:String);
+	}
+
 	public inline function charCodeAt( pos : Int ) : Int {
 	public inline function charCodeAt( pos : Int ) : Int {
 		#if (flash || js)
 		#if (flash || js)
 		return this.charCodeAt( pos );
 		return this.charCodeAt( pos );