2
0
Эх сурвалжийг харах

String.fromCharCode is pure

Dan Korostelev 9 жил өмнө
parent
commit
7e69767537
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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
 		If `code` is negative or has another invalid value, the result is
 		unspecified.
 		unspecified.
 	**/
 	**/
-	static function fromCharCode( code : Int ) : String;
+	@:pure static function fromCharCode( code : Int ) : String;
 }
 }