Parcourir la source

Typo fix: contraints -> constraints

[skip ci]
Gama11 il y a 9 ans
Parent
commit
b2d1a4ac3b
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      extra/CHANGES.txt
  2. 1 1
      std/haxe/rtti/CType.hx

+ 1 - 1
extra/CHANGES.txt

@@ -1482,7 +1482,7 @@
 	fixed infinite loop in neko EReg split/replace and epsilon matching
 	added neko native serialization support
 	fixed syntax for multiple constraints in type parameter
-	added recursive type parameters contraints (T : C<T> constraints)
+	added recursive type parameters constraints (T : C<T> constraints)
 	updated Xml handling
 
 2006-04-17: beta 5

+ 1 - 1
std/haxe/rtti/CType.hx

@@ -43,7 +43,7 @@ typedef PathParams = {
 	var params : List<CType>;
 }
 
-typedef TypeParams = Array<String> // no contraints
+typedef TypeParams = Array<String> // no constraints
 
 enum Rights {
 	RNormal;