Branch: Tag:

2014-08-18

2014-08-18 12:10:45 by Martin Nilsson <nilsson@opera.com>

Updated cast methods in src also.

126:    return(values(domain->all(ypmap)));    }    -  mixed cast(string type) +  protected mixed cast(string type)    { -  switch(type) { -  case "mapping": -  return(cast_to_mapping()); -  default: -  error( "Cast to " + type + " not supported.\n" ); +  if( type=="mapping" ) +  return cast_to_mapping(); +  return UNDEFINED;    }   } - } +       #endif