http://d.puremagic.com/issues/show_bug.cgi?id=1126


Iain Buclaw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from Iain Buclaw <[email protected]> 2012-09-07 02:44:09 PDT ---
Seems to be correct as of testing the sample on D2.


----
import std.stdio, core.thread, std.socket;

// intended to fail
void cause_throw()
{
  Socket s=new TcpSocket(new InternetAddress("bogus", 80));
}

void main()
{
  (new Thread(() { while (true) { } })).start;
  try
    cause_throw;
  catch (Exception e)
    {
      writeln("Exception: ", e);
    }
  writeln("Returning");
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to