Branch: Tag:

2014-08-16

2014-08-16 21:26:00 by Martin Nilsson <nilsson@opera.com>

Make illegal casts throw exception.

452:   //! When cast to mapping, return a mapping with scheme, authority,   //! user, password, host, port, path, query, fragment, raw_uri,   //! base_uri as documented above. - string|mapping cast(string to) + protected string|mapping cast(string to)   {    switch(to)    {
465:    "raw_uri", "base_uri", });    return mkmapping(i, rows(this, i));    } +  return UNDEFINED;   }      //! Returns path and query part of the URI if present.