On Thursday, 10 April 2014 at 09:31:30 UTC, John Colvin wrote:
On Thursday, 10 April 2014 at 09:24:51 UTC, Paulo Pinto wrote:
In a toy project I am working on with D v2.065, I came to the following situation:

Node path = solver.find (map, start, end);
if (path !is null) {
   path.writeContents();  <-- Access Violation
}

Apparently between the test and trying to use the class, the reference becomes null.

Quite strange in a single threaded application.

Any idea what might be happening or should I delve into assembly?

--
Paulo

Delve delve delve. Is this in an optimised build?

No, debug build.

Reply via email to