December 15, 2007
Jarrett Billingsley wrote:
>> PS:
>>  Personal wish list:
>>    * TRACED EXCEPTIONS ;____; yeah I wish
> 
> Huh!  Tango's had those for months.

Not on Windows, unless I've missed something?

-- 
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi
December 15, 2007
Matti Niemenmaa wrote:
> Jarrett Billingsley wrote:
>>> PS:
>>>  Personal wish list:
>>>    * TRACED EXCEPTIONS ;____; yeah I wish
>> Huh!  Tango's had those for months.
> 
> Not on Windows, unless I've missed something?

Glue in Flectioned and you get it on Windows & Linux.
December 15, 2007
Robert Fraser wrote:
> Matti Niemenmaa wrote:
>> Jarrett Billingsley wrote:
>>>> PS:
>>>>  Personal wish list:
>>>>    * TRACED EXCEPTIONS ;____; yeah I wish
>>> Huh!  Tango's had those for months.
>>
>> Not on Windows, unless I've missed something?
> 
> Glue in Flectioned and you get it on Windows & Linux.

or use ddbg ;)
December 16, 2007
Janice Caron wrote:
> On 12/15/07, downs <default_357-line@yahoo.de> wrote:
>> Should there be a place to collect metaprogramming thingies like this so people don't have to reinvent the wheel?
>>
>>  I vote std.meta! :)
> 
> I would have thought std.traits.

Right, my mistake. Sorry. (same to Sean)

In other, not entirely unrelated, news, scrapple.tools' /fix/ now preserves refness of its arguments :)
(not that anybody uses that except me (sadly), but it will make my code a bit easier)

 --downs
December 17, 2007
== Quote from Dan (murpsoft@hotmail.com)'s article

...

> At the moment, Walnut cannot compile with DMD 1.21 or later because of some bug
or unmentioned feature implemented in that version.  It has something to do with
> struct Value {
>   union {
>    struct {}
>    int i;
>    bool b;
>    char[] c;
>   bla bla.
> }
> and later doing something with b.  I'd be able to say more, but the error
message is 100% ambiguous and doesn't mention a file or line number.

I worked on reducing the error to a small example, and I filed a related bug: http://d.puremagic.com/issues/show_bug.cgi?id=1738

In the process of reducing the error, I guess I lost some of the context for the error, but I think it seems to be related to the assignment of FALSE in structure.d: #   FALSE = { b:false, type:TYPE.BOOLEAN, access:ACCESS.READ },


Note that I'm not defending that DMD rejects your code. My bug report only gives an example of an error message that should include a line number. I hope this helps, but it looks like the compiler is malfunctioning in a couple of ways when it tries to process your code. I only identified one of the malfunctions (lack of a line number).


By the way, to come up with the reduced example, I basically used the method
described at:
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/BugReports


> The exact string I get looks like:
> C:\Code\walnut>make
> dmd bla bla bla
> Error: 'b' is not a member of 'Value'
> --- errorlevel 1
> Regards,
> Dan

1 2
Next ›   Last »