Thread overview | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 20, 2008 DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
bug fixing http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.026.zip http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.2.010.zip |
January 20, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> bug fixing
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip
"""
Bugs Fixed
* Bugzilla 1319: compiler crashes with functions that take const ref arguments
"""
Hooray! At long last! Maybe it's time to try D2 for real now. :-)
--bb
|
January 20, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright schrieb:
> bug fixing
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip
I really really want to try D2, but even if tango moved to D2...
There is still this problem, that it is not possible to turn the full-closure-heap-alloc off. The is, for me, a show stopper. I cannot allow heap alloc, and i make massive use of in-place delegates that are passed into called functions.
I hope so much for a solution (scope?) in the next release.
Frank
|
January 20, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright Wrote: > bug fixing > > http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.026.zip > > http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.2.010.zip Hello! Is the pure keyword for functions? Where is the documentation for it? Shouldn't it be listed in the keyword list? (at http://www.digitalmars.com/d/lex.html) Thanks for this release! |
January 20, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pablo Ripolles | i guess "pure" is not functional in any way yet. its just a reserved keyword from now on (like "macro" is for already a looong time)
Pablo Ripolles schrieb:
> Walter Bright Wrote:
>
>
>> bug fixing
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.026.zip
>>
>> http://www.digitalmars.com/d/changelog.html
>> http://ftp.digitalmars.com/dmd.2.010.zip
>>
>
> Hello!
>
> Is the pure keyword for functions? Where is the documentation for it? Shouldn't it be listed in the keyword list? (at http://www.digitalmars.com/d/lex.html)
>
> Thanks for this release!
>
>
|
January 20, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | ohh what a great day for const, #1319 was in top ten for me ;). thanks for this release!
but what happened to scoped interfaces:
[CODE]
interface IFoo {
}
class Foo : IFoo {}
IFoo getaFoo(){
return new Foo();
}
void main() {
scope auto a = getaFoo();
}
[/CODE]
this is illegal since 2.010. how can i do such a thing from now on ?
Walter Bright schrieb:
> bug fixing
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip
|
January 20, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright schrieb:
> bug fixing
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip
"
opAssign can no longer be overloaded for class objects.
"
why is that ? that change breaks lots of my code... ;(
|
January 21, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | Bill Baxter wrote:
> """
> Bugs Fixed
> * Bugzilla 1319: compiler crashes with functions that take const ref arguments
> """
>
> Hooray! At long last! Maybe it's time to try D2 for real now. :-)
I was waiting on fixing that until the const stuff settled down.
|
January 21, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> bug fixing
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip
If a variable is declared both private and export, I get 'redundant protection attribute' with 2.010. Do private and export really exclude each other? It's sometimes useful, although private seem to be ignored when you use export. I agree that they are conceptually mutually exclusive, but private has limited effect in D, and export only changes the name mangling, AFAIK. Just wondering. :)
|
January 21, 2008 Re: DMD 1.026 and 2.010 releases | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | torhu wrote:
> If a variable is declared both private and export, I get 'redundant protection attribute' with 2.010. Do private and export really exclude each other? It's sometimes useful, although private seem to be ignored when you use export. I agree that they are conceptually mutually exclusive, but private has limited effect in D, and export only changes the name mangling, AFAIK. Just wondering. :)
Yes, they are meant to be mutually exclusive.
|
Copyright © 1999-2021 by the D Language Foundation