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
http://d.puremagic.com/issues/show_bug.cgi?id=5868
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #8
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) {
http://d.puremagic.com/issues/show_bug.cgi?id=5868
--- Comment #6 from Walter Bright 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 receiving this mail beca
http://d.puremagic.com/issues/show_bug.cgi?id=6780
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6738
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=620
Walter Bright changed:
What|Removed |Added
Version|0.175 |D1
--- Comment #7 from Walter Bright 2
http://d.puremagic.com/issues/show_bug.cgi?id=7019
mail.mantis...@gmail.com changed:
What|Removed |Added
CC||mail.mantis...@gmail.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=5868
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
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 th
http://d.puremagic.com/issues/show_bug.cgi?id=5868
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7372
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
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
https://github.com/D-Programming-Language/dmd/commit/a08a5bb9394c3b46e3cca6bee1c90922bc0e9da2
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
https://github.com/D-Programming-Language/dmd/commit/1d4438f151143fcdcb807e257959dd1d588f9048
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=7019
Vladimir Panteleev changed:
What|Removed |Added
CC||thecybersha...@gmail.com
--- Comm
http://d.puremagic.com/issues/show_bug.cgi?id=7364
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=7019
--- Comment #5 from Trass3r 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 control implicit c
http://d.puremagic.com/issues/show_bug.cgi?id=5868
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=7364
Nick Treleaven changed:
What|Removed |Added
CC||ntrel-pub...@yahoo.co.uk
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=7355
--- Comment #7 from Steven Schveighoffer 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 int x = 5;
>
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 mutab
http://d.puremagic.com/issues/show_bug.cgi?id=5695
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=7355
--- Comment #5 from Steven Schveighoffer 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 to call. I'm not
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 *)*
> Argum
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:
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:
http://d.puremagic.com/issues/show_bug.cgi?id=7355
Steven Schveighoffer changed:
What|Removed |Added
CC||schvei...@yahoo.com
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=4149
Leandro Lucarella changed:
What|Removed |Added
CC||leandro.lucarella@sociomant
http://d.puremagic.com/issues/show_bug.cgi?id=7019
--- Comment #4 from Kenji Hara 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 a defect by
> expe
http://d.puremagic.com/issues/show_bug.cgi?id=7368
Kenji Hara changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=7160
Kenji Hara changed:
What|Removed |Added
CC||tob...@pankrath.net
--- Comment #3 from K
http://d.puremagic.com/issues/show_bug.cgi?id=7321
Kenji Hara changed:
What|Removed |Added
Keywords||patch, rejects-valid
--- Comment #1 from
http://d.puremagic.com/issues/show_bug.cgi?id=5695
--- Comment #1 from Kenji Hara 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 mail because: --
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();
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();
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
Co
http://d.puremagic.com/issues/show_bug.cgi?id=7355
--- Comment #1 from Kenji Hara 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: mutable(immutable(int)*)* // m
http://d.puremagic.com/issues/show_bug.cgi?id=7356
--- Comment #5 from Kenji Hara 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 fairness, `Strin
http://d.puremagic.com/issues/show_bug.cgi?id=7231
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
https://github.com/D-Programming-Language/dmd/commit/f88878558c3066abed4f288c9dfa717427041be1
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
https://github.com/D-Programming-Language/dmd/commit/f88878558c3066abed4f288c9dfa717427041be1
http://d.puremagic.com/issues/show_bug.cgi?id=7296
Walter Bright changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=7295
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7234
Don changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
--- Comment #1 from Don 2
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
https://github.com/D-Programming-Language/phobos/commit/bd9596f9625a6d9a196388b7c18813ccaf
http://d.puremagic.com/issues/show_bug.cgi?id=6255
Jonathan M Davis changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
https://github.com/D-Programming-Language/phobos/commit/42083000a43b569e1d368261678ebd1405
50 matches
Mail list logo