Browse Source

String.fromCharCode is pure

Dan Korostelev 9 years ago
parent
commit
7e69767537
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/String.hx

+ 1 - 1
std/String.hx

@@ -168,5 +168,5 @@ extern class String {
 		If `code` is negative or has another invalid value, the result is
 		unspecified.
 	**/
-	static function fromCharCode( code : Int ) : String;
+	@:pure static function fromCharCode( code : Int ) : String;
 }