Browse Source

fixed Type.typeOf() for PHP

Franco Ponticelli 17 years ago
parent
commit
5a6414e303
2 changed files with 1 additions and 2 deletions
  1. 1 1
      doc/CHANGES.txt
  2. 0 1
      std/Type.hx

+ 1 - 1
doc/CHANGES.txt

@@ -8,7 +8,7 @@ TODO inlining : substitute class+function type parameters in order to have fully
 
 2008-??-??: 2.01
 	fixed SPOD for PHP
-	fixed Type.enumParameters() for PHP
+	fixed Type.enumParameters() and Type.typeOf() for PHP
 	fixed null references in class constructors for array arguments
 	fixed php.Boot.__string_rec() when invoked from toString
 	added neko.NativeString and neko.NativeArray

+ 0 - 1
std/Type.hx

@@ -591,7 +591,6 @@ class Type {
 				return TClass(Array);
 			}
 			if(__call__("is_string", v)) {
-				if(__call__("class_exists", v)) return TObject;
 				if(php.Boot.__is_lambda(v)) return TFunction;
 				return TClass(String);
 			}