Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-26 Thread Andrej Mitrovic
On 1/27/12, equi...@atw.hu equi...@atw.hu wrote: It is not clear what you do not use xml in tango library. I'm using D2, not D1.

Re: dmd gdc

2012-01-26 Thread Jerome BENOIT
There is also gdmd : dmd front end that use gdc On 26/01/12 13:34, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one of them over the other? what the different between them in

Re: dmd gdc

2012-01-26 Thread Trass3r
There is also gdmd : dmd front end that use gdc It's nothing but a perl script that translates dmd command line options into gdc ones.

Re: dmd gdc

2012-01-26 Thread Jerome BENOIT
actually is a d source file that does more than a simple translation ... as dmd On 26/01/12 13:59, Trass3r wrote: There is also gdmd : dmd front end that use gdc It's nothing but a perl script that translates dmd command line options into gdc ones.

Re: inout constructor?

2012-01-26 Thread Steven Schveighoffer
On Wed, 25 Jan 2012 23:08:01 -0500, bearophile bearophileh...@lycos.com wrote: In this bug report I've seen an inout struct constructor: http://d.puremagic.com/issues/show_bug.cgi?id=7369 struct TestStruct { this(int data) inout {} } Do you know what's the usage of this? I would say

Re: GC and void*

2012-01-26 Thread Steven Schveighoffer
On Wed, 25 Jan 2012 19:11:36 -0500, Nicolas Silva nical.si...@gmail.com wrote: Hi, I need to be sure: would the GC collect an object that is still reachable through a void* pointer ? No. The current GC does not know anything about type information. It blindly assumes if a pointer

Re: dmd gdc

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one of them over the other? what the different between them in term of inline assembly,

Re: dmd gdc

2012-01-26 Thread xancorreu
Al 26/01/12 17:15, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one of them over the other? what the

Re: dmd gdc

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 06:06:38PM +0100, xancorreu wrote: [...] I note that gdc is completely free software but dmd runtime is not. You mean free as in freedom, not as in price. An alternative is ldc, also free. I looked up ldc recently, and it seems that it hasn't been updated for years.

Re: dmd gdc

2012-01-26 Thread Alex Rønne Petersen
On 26-01-2012 18:06, xancorreu wrote: Al 26/01/12 17:15, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can do with dmd only and visa versa? what the feature of one

Re: dmd gdc

2012-01-26 Thread xancorreu
Al 26/01/12 18:43, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 06:06:38PM +0100, xancorreu wrote: [...] I note that gdc is completely free software but dmd runtime is not. You mean free as in freedom, not as in price. Yes, both An alternative is ldc, also free. I looked up ldc

Re: dmd gdc

2012-01-26 Thread xancorreu
Al 26/01/12 19:48, En/na Alex Rønne Petersen ha escrit: On 26-01-2012 18:06, xancorreu wrote: Al 26/01/12 17:15, En/na H. S. Teoh ha escrit: On Thu, Jan 26, 2012 at 01:34:39PM +0100, Trass3r wrote: On Thursday, 26 January 2012 at 11:46:19 UTC, sami wrote: my question is if there thing i can

unittests running before static ctors??

2012-01-26 Thread H. S. Teoh
I just noticed that unittests are running before static class ctors. Is this a bug?? I suppose the intention is for unittests to make sure the class implementation is OK before using it, but this makes it impossible to use unittests to make sure that static ctors are setting up the initial states

Re: unittests running before static ctors??

2012-01-26 Thread Jonathan M Davis
On Thursday, January 26, 2012 10:08:24 H. S. Teoh wrote: I just noticed that unittests are running before static class ctors. Is this a bug?? I suppose the intention is for unittests to make sure the class implementation is OK before using it, but this makes it impossible to use unittests

Re: unittests running before static ctors??

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 01:10:28PM -0500, Jonathan M Davis wrote: On Thursday, January 26, 2012 10:08:24 H. S. Teoh wrote: I just noticed that unittests are running before static class ctors. Is this a bug?? [...] I would definitely think that that's a bug. If you're seeing that happen,

TypeTuple of functions

2012-01-26 Thread bearophile
I'm asking questions all the time :-) I have just closed this bug report as fixed: http://d.puremagic.com/issues/show_bug.cgi?id=5695 Using that idiom I've seen a difference: template TypeTuple(TList...) { alias TList TypeTuple; } double f1(in double x) pure nothrow { return x; } alias

Re: TypeTuple of functions

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 01:32:35PM -0500, bearophile wrote: [...] template TypeTuple(TList...) { alias TList TypeTuple; } double f1(in double x) pure nothrow { return x; } alias TypeTuple!(f1) funcs1; alias TypeTuple!(function(in double x) pure nothrow { return x; }) funcs2; void

Re: dmd gdc

2012-01-26 Thread Trass3r
Building gcc in general is a pain. It's just a little less painful on *nix systems, but still painful. I can't agree. The build instructions contain everything. Has been straightforward for me right from the beginning.

Re: dmd gdc

2012-01-26 Thread Trass3r
I looked up ldc recently, and it seems that it hasn't been updated for years. Seems that gdc is the only other D compiler that's still actively maintained. Please don't spread such misinformation. https://github.com/ldc-developers/ldc/commits/master

Re: dmd gdc

2012-01-26 Thread Jonathan M Davis
On Thursday, January 26, 2012 19:56:22 Trass3r wrote: I looked up ldc recently, and it seems that it hasn't been updated for years. Seems that gdc is the only other D compiler that's still actively maintained. Please don't spread such misinformation.

Re: unittests running before static ctors??

2012-01-26 Thread Era Scarecrow
I just noticed that unittests are running before static class ctors. Is this a bug?? [...] I would definitely think that that's a bug. If you're seeing that happen, please report it. [...] Hmm. It appears that I'm misunderstanding D syntax. What does a static {...} block in a

Re: Singleton question (shared class)

2012-01-26 Thread Ali Çehreli
On 01/25/2012 06:35 AM, Mars wrote: I have a few classes which I want to implement as singletons (like configuration, database connection, etc.), because I have to access them throughout my whole program, and from different threads. You haven't asked, so I shouldn't be commenting on your

Re: Using Clang with D

2012-01-26 Thread Jacob Carlborg
On 2012-01-26 10:29, Jacob Carlborg wrote: I'm trying to port a simple example that uses Clang from C to D but for some reason the D version results in a segmentation fault. This is the C code: http://pastebin.com/4B2JGz9n This is the D code: http://pastebin.com/XPBsSVup The stacktrace from

Re: Using Clang with D

2012-01-26 Thread Timon Gehr
On 01/26/2012 08:44 PM, Jacob Carlborg wrote: On 2012-01-26 10:29, Jacob Carlborg wrote: I'm trying to port a simple example that uses Clang from C to D but for some reason the D version results in a segmentation fault. This is the C code: http://pastebin.com/4B2JGz9n This is the D code:

Re: Singleton question (shared class)

2012-01-26 Thread Mars
On Thursday, 26 January 2012 at 19:13:11 UTC, Ali Çehreli wrote: You haven't asked, so I shouldn't be commenting on your design, but singleton is accepted as an anti-pattern for a long time now. It is more like a solution in search of a problem. For example, in your case, you can solve your

newbie confusion with arrays and structs

2012-01-26 Thread Robert Bernecky
Hi. I am trying to write my first D program, and am quite stuck in several areas. This is on Ubuntu 10.10 with the dmd DMD64 D Compiler v2.055. I want to create a generic struct for multi-dimensional arrays, in which the value parts can be shared. E.g., an array comprises a vector of its raveled

Re: newbie confusion with arrays and structs

2012-01-26 Thread H. S. Teoh
On Thu, Jan 26, 2012 at 08:34:12PM +, Robert Bernecky wrote: Hi. I am trying to write my first D program, and am quite stuck in several areas. This is on Ubuntu 10.10 with the dmd DMD64 D Compiler v2.055. [...] However, none of this stuff works. Here's what I get: dmd prd.d -unittest

Re: newbie confusion with arrays and structs

2012-01-26 Thread Jesse Phillips
The important mangled message here is: prd.o:(.data+0x250): undefined reference to `_D5Array12__ModuleInfoZ' This is a linker error, your code compiled fine. The English translation: There is an undefined reference to module Array You are compiling without including all files you need

Re: newbie confusion with arrays and structs

2012-01-26 Thread Robert Bernecky
Awesome! I feel much better now; thank you both for your instant help! dmd prd.d Array.d -unittest rbe@rattler:~/plural$ prd [0] [0, 1, 2, 3, 4] Created int iota shape is %d [0] iota value is %d [0, 1, 2, 3, 4] got to unittest for Array.d [0] [0, 1, 2, 3, 4] Created int [0] [0, 1, 2, 3, 4]

Re: newbie confusion with arrays and structs

2012-01-26 Thread Justin Whear
On Thu, 26 Jan 2012 21:53:39 +, Robert Bernecky wrote: Awesome! I feel much better now; thank you both for your instant help! dmd prd.d Array.d -unittest rbe@rattler:~/plural$ prd [0] [0, 1, 2, 3, 4] Created int iota shape is %d [0] iota value is %d [0, 1, 2, 3, 4] got to

Re: newbie confusion with arrays and structs

2012-01-26 Thread Jesse Phillips
On Thursday, 26 January 2012 at 22:10:23 UTC, Justin Whear wrote: If you want your Array code to be a separate library/project, you can compile it like so: dmd Array.d -lib Then when you compile your other project: dmd prd.d -I/location/of/Array.d -L/location/of/Array.so Justin It is

Re: dmd gdc

2012-01-26 Thread Jerome BENOIT
Sorry I made a mistake here: I confused gdmd with rdmd :-) On 26/01/12 14:08, Jerome BENOIT wrote: actually is a d source file that does more than a simple translation ... as dmd On 26/01/12 13:59, Trass3r wrote: There is also gdmd : dmd front end that use gdc It's nothing but a perl

Re: TypeTuple of functions

2012-01-26 Thread Daniel Murphy
Differing part: FNaNb xdZ d6 PFNaNbNfxdZxd6 P - pointer Nf - @safe x - const The second one is a function pointer not a function, is inferred to be @safe, and inferred to return const(double). bearophile bearophileh...@lycos.com wrote in message news:jfs683$2mqh$1...@digitalmars.com...

Re: GC and void*

2012-01-26 Thread Nicolas Silva
Ok thanks! You said the current GC, do you mean that this behavior might change in the future? Well, first of all, what is T? If T is a class, you would not cast void * to T*, you almost never use T* since T is already a reference. You could cast void * to T. I am making a sort of

[Issue 6255] Add support for different base conversions in std.conv

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6255 --- Comment #5 from github-bugzi...@puremagic.com 2012-01-25 23:55:44 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 6255] Add support for different base conversions in std.conv

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6255 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6255] Add support for different base conversions in std.conv

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6255 --- Comment #6 from github-bugzi...@puremagic.com 2012-01-26 00:04:20 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 7234] Segmentation fault when using stdio

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7234 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 7295] Alias This + Pure + pointsTo = rejects-valid

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7295 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7296] [2.058] Regression: Cannot swap RefCounted

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7296 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 7231] Segfault using opDispatch with property notation

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7231 --- Comment #1 from github-bugzi...@puremagic.com 2012-01-26 02:11:26 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7231] Segfault using opDispatch with property notation

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7231 --- Comment #1 from github-bugzi...@puremagic.com 2012-01-26 02:11:26 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7231] Segfault using opDispatch with property notation

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7231 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7356] Implement KeyType, ValueType for hashes in std.traits

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7356 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2012-01-26 04:07:44 PST --- (In reply to comment #2) Some have Of, others don't. I don't see what Of adds, except verbosity. IMHO, it comes from the typeof() feature. First of all, and for

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-01-26 04:30:30 PST --- My understanding is, each inout deduction from a function argument just like pattern matching. Parameter type: inout( int *)* Argument type:

[Issue 7371] New: Associative arrays as associative array keys

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7371 Summary: Associative arrays as associative array keys Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 4504] ICE(toir.c) nested function passed by alias to nested member function

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 --- Comment #10 from bearophile_h...@eml.cc 2012-01-26 04:54:36 PST --- Same bug? import std.algorithm: map; void foo() { map!(x = x)([1]); } void main() { int opApply(int delegate(ref int) dg) { int result; foo();

[Issue 4504] ICE(toir.c) nested function passed by alias to nested member function

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 --- Comment #11 from bearophile_h...@eml.cc 2012-01-26 04:56:11 PST --- Same bug? import std.algorithm: map; void foo() { map!(x = x)([1]); } struct Bar { int opApply(int delegate(ref int) dg) { int result; foo();

[Issue 5695] Problem with TypeTuple of lambdas

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5695 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-01-26 05:05:10 PST --- With 2.058head (f8887855), that code works correctly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this

[Issue 7321] returning void considered unsafe by safety inference

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7321 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid

[Issue 7160] Regression(2.057): ICE(dsymbol.c:1052) ICE using __traits(derivedMembers)

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7160 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||tob...@pankrath.net

[Issue 7368] template mixin + __traits(allMembers) = Assertion 'members' failed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7368 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-01-26 06:24:43 PST --- Is this a dup of 4875? Recently Walter commented in that issue, and marked it WONTFIX. He said: Allowing such implicit conversions works in C++, but is considered

[Issue 4149] refs displayed as pointers in gdb

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4149 Leandro Lucarella leandro.lucare...@sociomantic.com changed: What|Removed |Added CC|

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 7372] New: wrong error: undefined identifier

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7372 Summary: wrong error: undefined identifier Product: D Version: D1 Platform: x86 OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component:

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #3 from timon.g...@gmx.ch 2012-01-26 09:07:23 PST --- (In reply to comment #2) (In reply to comment #1) My understanding is, each inout deduction from a function argument just like pattern matching. Parameter type:

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #4 from timon.g...@gmx.ch 2012-01-26 09:20:32 PST --- (In reply to comment #1) My understanding is, each inout deduction from a function argument just like pattern matching. Parameter type: inout( int *)* Argument

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #5 from Steven Schveighoffer schvei...@yahoo.com 2012-01-26 09:36:01 PST --- (In reply to comment #3) The typeof resolves to error because inout resolves to immutable. As I said, it should fail to match or match mutable and fail

[Issue 5695] Problem with TypeTuple of lambdas

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5695 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #6 from timon.g...@gmx.ch 2012-01-26 09:55:37 PST --- (In reply to comment #5) (In reply to comment #3) The typeof resolves to error because inout resolves to immutable. As I said, it should fail to match or match mutable

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #7 from Steven Schveighoffer schvei...@yahoo.com 2012-01-26 10:21:28 PST --- (In reply to comment #6) (In reply to comment #5) Let's assume inout did resolve to const for foo, and the function could be called: immutable

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 7364] Better Eponymous Template syntax

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7364 Nick Treleaven ntrel-pub...@yahoo.co.uk changed: What|Removed |Added CC|

[Issue 7364] Better Eponymous Template syntax

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7364 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 --- Comment #5 from Trass3r mrmoc...@gmx.de 2012-01-26 19:33:22 CET --- I vote for doing the opposite of C++ and introducing a @implicit tag for constructors that are to be used in the fashion I depicted. We really need an easy way to finely

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 7373] New: (Regression git) Renamed imports conflict with other implicitly imported symbols

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7373 Summary: (Regression git) Renamed imports conflict with other implicitly imported symbols Product: D Version: D1 Platform: x86 OS/Version: Linux Status: NEW

[Issue 6738] Can't call templatized property function from within a struct/class method

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6738 --- Comment #3 from github-bugzi...@puremagic.com 2012-01-26 12:06:13 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 620] Can't use property syntax with a template function

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=620 --- Comment #6 from github-bugzi...@puremagic.com 2012-01-26 12:06:20 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8bc639fb00cab9002b91a1d900ddd72f56f993a4

[Issue 6780] Templated global property functions do not work

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6780 --- Comment #2 from github-bugzi...@puremagic.com 2012-01-26 12:06:27 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7374] New: stdin.byLine() throws AssertError on empty input

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7374 Summary: stdin.byLine() throws AssertError on empty input Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7372] (Regression git) wrong error: undefined identifier

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7372 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #4 from hst...@quickfur.ath.cx 2012-01-26 12:35:32 PST --- So the right syntax is: class A { static { ... static this() { ... } ... } } ? Or alternatively class A { static { ... } static

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 7019] implicit constructors are inconsistently allowed

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 mail.mantis...@gmail.com changed: What|Removed |Added CC||mail.mantis...@gmail.com

[Issue 620] Can't use property syntax with a template function

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=620 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Version|0.175 |D1 --- Comment

[Issue 6738] Can't call templatized property function from within a struct/class method

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6738 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6780] Templated global property functions do not work

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6780 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #6 from Walter Bright bugzi...@digitalmars.com 2012-01-26 17:19:02 PST --- I don't think there's anything wrong with the current setup. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #7 from hst...@quickfur.ath.cx 2012-01-26 17:44:20 PST --- There's nothing technically wrong with it, but it's misleading. When you write: class A { int x; this(int) { ... } static { int y; this(uint) {

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 5868] static attribute ignored with public static {} blocks

2012-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5868 --- Comment #9 from bearophile_h...@eml.cc 2012-01-26 18:07:08 PST --- (In reply to comment #7) There's nothing technically wrong with it, but it's misleading. I think here there's material for a diagnostic enhancement request. (In reply to

<    1   2