Jump to page: 1 2
Thread overview
DMD 0.168 release
Oct 03, 2006
Walter Bright
Oct 03, 2006
J Duncan
Oct 03, 2006
Chad J
Oct 03, 2006
Bill Baxter
Oct 03, 2006
Walter Bright
Oct 03, 2006
clayasaurus
Oct 03, 2006
Jeremy
Oct 03, 2006
Kazuhiro Inaba
Oct 03, 2006
Ivan Senji
Oct 03, 2006
nazo
Oct 03, 2006
Stewart Gordon
Oct 03, 2006
Georg Wrede
Oct 03, 2006
Stewart Gordon
Oct 03, 2006
Kristian
Oct 03, 2006
BCS
Oct 03, 2006
Walter Bright
Oct 03, 2006
Thomas Kuehne
Oct 04, 2006
Thomas Kuehne
Oct 04, 2006
Juan Jose Comellas
October 03, 2006
Better array literals.

http://www.digitalmars.com/d/changelog.html
October 03, 2006

Walter Bright wrote:
> Better array literals.
> 
> http://www.digitalmars.com/d/changelog.html


Thank you soooooo much Walter! Mixin destructors and delegate .ptrs sound delicious. Yum!
October 03, 2006
Walter Bright wrote:
> Better array literals.
> 
> http://www.digitalmars.com/d/changelog.html

.ptr and .outer, sweet!

I'm sure I'll be very glad for the improved array literal stuff too when I need to use it :)

Thank you very much Walter!
October 03, 2006
Walter Bright wrote:
> Better array literals.
> 
> http://www.digitalmars.com/d/changelog.html

The download link seem to be broken.
ftp://ftp.digitalmars.com/dmd.zip  downloads a size zero file.
ftp://ftp.digitalmars.com/dmd.168.zip  work ok.
October 03, 2006
Walter Bright wrote:
> Better array literals.
> 
> http://www.digitalmars.com/d/changelog.html

Yay! Thank you very much, now users of Derelict Free Type and my little library can generate some debug info :)
~ Clay
October 03, 2006
Bill Baxter wrote:
> The download link seem to be broken.
> ftp://ftp.digitalmars.com/dmd.zip  downloads a size zero file.
> ftp://ftp.digitalmars.com/dmd.168.zip  work ok.

Should be fixed now.
October 03, 2006
Walter Bright wrote:
> Better array literals.

Cooool!

I think it would be made even better if auto declarations and initialization of
stack variables with array literals can be combinedly used.
Currently, the following program fails to compile:

void main() { auto a = [1,2,3]; }
>> test.d(1): Error: cannot infer type from initializer
>> test.d(1): cannot implicitly convert expression ([1,2,3]) of type int[3] to int

October 03, 2006
Walter Bright wrote:
> Better array literals.

Wow they really are much better, also thanks for the outer property.
October 03, 2006
Walter Bright wrote:
> Better array literals.
array literal is still very buggy

*Case1: array literal with template
template test(char[] val){
  const char[] test2=val;
}

mixin test!(['a','b','c']);

Case2: array literal with cast and const
const ubyte[] t=cast(ubyte[])['a','b','c'];

Case3: append non-array value
void main(){
  writefln([1,2,3]~2);
}
October 03, 2006
Walter Bright wrote:
> Better array literals.
> 
> http://www.digitalmars.com/d/changelog.html

Could I please have your feedback on this sometime soon?

http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=41978

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on the 'group where everyone may benefit.
« First   ‹ Prev
1 2