杨博 (Yang Bo) 11 years ago
parent
commit
ff96f0ead7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/macro/TypeTools.hx

+ 1 - 1
std/haxe/macro/TypeTools.hx

@@ -134,7 +134,7 @@ class TypeTools {
 			case TAbstract(_.get() => baseType, params):
 				TPath(toTypePath(baseType, params));
 			default:
-				throw "Invalide type";
+				throw "Invalid type";
 		}
 		#end
 	}