www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - balancedParens is not nothrow bug, is this known?

reply "Gary Willoughby" <dev nomad.so> writes:
import std.path;

void main(string[] args)
{
	globMatch("foo.bar", "*");
}

compile with: dmd -profile test.d

Error:

/usr/share/dmd/src/phobos/std/path.d(2187): Error: balancedParens 
is not nothrow
/usr/share/dmd/src/phobos/std/path.d(2188): Error: balancedParens 
is not nothrow

a). Is this bug known?
b). Is this fixed in the latest release, i'm using 2.063.2.
Nov 08 2013
next sibling parent reply "Gary Willoughby" <dev nomad.so> writes:
On Friday, 8 November 2013 at 14:07:38 UTC, Gary Willoughby wrote:
 import std.path;

 void main(string[] args)
 {
 	globMatch("foo.bar", "*");
 }

 compile with: dmd -profile test.d

 Error:

 /usr/share/dmd/src/phobos/std/path.d(2187): Error: 
 balancedParens is not nothrow
 /usr/share/dmd/src/phobos/std/path.d(2188): Error: 
 balancedParens is not nothrow

 a). Is this bug known?
 b). Is this fixed in the latest release, i'm using 2.063.2.
Found it: https://d.puremagic.com/issues/show_bug.cgi?id=10295
Nov 08 2013
parent reply "Gary Willoughby" <dev nomad.so> writes:
On Friday, 8 November 2013 at 14:15:05 UTC, Gary Willoughby wrote:
 Found it: https://d.puremagic.com/issues/show_bug.cgi?id=10295
With that said, anyone have any idea when this is gonna get fixed? Otherwise the profiler is useless for me.
Nov 08 2013
parent "Gary Willoughby" <dev nomad.so> writes:
On Friday, 8 November 2013 at 14:17:03 UTC, Gary Willoughby wrote:
 With that said, anyone have any idea when this is gonna get 
 fixed? Otherwise the profiler is useless for me.
In fact i might give it a shot.
Nov 08 2013
prev sibling parent reply "simendsjo" <simendsjo gmail.com> writes:
On Friday, 8 November 2013 at 14:07:38 UTC, Gary Willoughby wrote:
 import std.path;

 void main(string[] args)
 {
 	globMatch("foo.bar", "*");
 }

 compile with: dmd -profile test.d

 Error:

 /usr/share/dmd/src/phobos/std/path.d(2187): Error: 
 balancedParens is not nothrow
 /usr/share/dmd/src/phobos/std/path.d(2188): Error: 
 balancedParens is not nothrow

 a). Is this bug known?
 b). Is this fixed in the latest release, i'm using 2.063.2.
Can it be nothrow? It might encounter unicode exceptions.
Nov 08 2013
parent "bearophile" <bearophileHUGS lycos.com> writes:
simendsjo:

 Can it be nothrow? It might encounter unicode exceptions.
I think -profile should not influence the exception tree analysis. So it seems a bug. And there are probably some dupes: https://d.puremagic.com/issues/buglist.cgi?quicksearch=profile+nothrow Bye, bearophile
Nov 08 2013