Tanner Bennett hace 6 años
padre
commit
40239524d1
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      Classes/Utility/FLEXRuntimeUtility.m

+ 4 - 0
Classes/Utility/FLEXRuntimeUtility.m

@@ -743,6 +743,10 @@ const unsigned int kFLEXNumberOfImplicitArgs = 2;
 
 + (NSString *)appendName:(NSString *)name toType:(NSString *)type
 {
+    if (!type.length) {
+        type = @"(?)";
+    }
+    
     NSString *combined = nil;
     if ([type characterAtIndex:type.length - 1] == FLEXTypeEncodingCString) {
         combined = [type stringByAppendingString:name];