Bernard Helyer wrote:
On 11/12/09 10:48, Gareth Charnock wrote:
Is there any way to tell dmd
to just share them between threads?
__gshared type whatever;
Thanks. And now I see there was an article about that on website all
along. I guess my eyes must have just scanned over it. A good night'
Opened as 3606 and 3607.
Thanks,
Richard Webb
Consider this example:
struct A
{
static void foo () {}
void foo () {}
}
void main ()
{
A a;
A.foo(); // error here
a.foo(); // and same here
}
Error: function main.A.foo called with argument types:
(())
matches both:
main.A.foo()
and:
main.A.foo()
Which is
Hello Phil,
How can I get the unadorned text of an exception?
e.msg
How can I get the unadorned text of an exception? When I run:
import std.stdio;
int main()
{
try {
throw new Exception("text");
}
catch (Exception e) {
writeln(e.toString());
}
return 0;
}
I get the output:
object.Exceptio
On Fri, 11 Dec 2009 07:13:35 -0500, Steven Schveighoffer
wrote:
I think it should be a bug
Clarifying, I meant it is a bug in the compiler *not* in Juno :)
-Steve
On Thu, 10 Dec 2009 19:23:43 -0500, Richard Webb
wrote:
I just tried to build the Juno library with DMD 2.037, and got a bunch
or errors like:
juno\com\core.d(295): Error: function juno.com.core.GUID.opEquals type
signature should be const bool(ref const(GUID)) not bool(GUID other)
Whi