Pārlūkot izejas kodu

String.fromCharCode is pure

Dan Korostelev 9 gadi atpakaļ
vecāks
revīzija
7e69767537
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 }