Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
November 19, 2008 [Issue 2461] New: Duplicate typedef (with different initializer) in module has wrong value | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2461 Summary: Duplicate typedef (with different initializer) in module has wrong value Product: D Version: 2.020 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: rosscanning2007@gmail.com The code below produces the output 555 555 when it should be 555 666 import std.stdio; void f1() { typedef int MyInt = 555; MyInt x; writefln(x); } void f2() { typedef int MyInt = 666; MyInt x; writefln(x); } void main() { f1(); f2(); } -- |
November 20, 2008 [Issue 2461] Duplicate typedef (with different initializer) in module has wrong value | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2461 smjg@iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg@iname.com Keywords| |wrong-code ------- Comment #1 from smjg@iname.com 2008-11-19 18:10 ------- Please remember to assign keywords to bug reports. To everybody reading this: Please look through issues you've reported and check for missing keywords. -- |
November 20, 2008 keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | Does anyone, particularly Walter, pay any attention? I agree they're useful categorizers, but I have doubts that they're even used by anyone.
> ------- Comment #1 from smjg@iname.com 2008-11-19 18:10 -------
> Please remember to assign keywords to bug reports. To everybody reading this: Please look through issues you've reported and check for missing keywords.
Later,
Brad
|
November 20, 2008 Re: keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Roberts | "Brad Roberts" wrote
> Does anyone, particularly Walter, pay any attention? I agree they're useful categorizers, but I have doubts that they're even used by anyone.
The problem with them (IMO) is that you have to type them in exactly as they are defined.
Every time I add a keyword (and I do use them, not sure if it helps anything), I have to click on the keywords link to see how they are spelled and what they mean. It would be a MUCH better interface (and probably more used feature) if the keywords were a checkbox list instead. I understand that this is not your software, but bugzilla's, so probably no change will come from this. But at least it's an idea for explaining why it's a seldom used feature.
My preference for interface would be a checkbox list, with tooltips explaining the keywords when you hover over them.
-Steve
|
November 20, 2008 Re: keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | Steven Schveighoffer wrote:
> "Brad Roberts" wrote
>> Does anyone, particularly Walter, pay any attention? I agree they're useful categorizers, but I have doubts that they're even used by anyone.
>
> The problem with them (IMO) is that you have to type them in exactly as they are defined.
>
> Every time I add a keyword (and I do use them, not sure if it helps anything), I have to click on the keywords link to see how they are spelled and what they mean. It would be a MUCH better interface (and probably more used feature) if the keywords were a checkbox list instead. I understand that this is not your software, but bugzilla's, so probably no change will come from this. But at least it's an idea for explaining why it's a seldom used feature.
>
> My preference for interface would be a checkbox list, with tooltips explaining the keywords when you hover over them.
>
> -Steve
>
Sorry, I want to distinguish 'enter' from 'use'. It's obvious that some people enter them. Have you ever searched for bugs with specific key words, or used it for any analysis of existing bugs in any way?
Later,
Brad
|
November 21, 2008 Re: keywords | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Roberts | "Brad Roberts" <braddr@puremagic.com> wrote in message news:mailman.25.1227201018.22690.digitalmars-d-bugs@puremagic.com... <snip> > Sorry, I want to distinguish 'enter' from 'use'. It's obvious that some > people enter them. Have you ever searched for bugs with specific key > words, or used it for any analysis of existing bugs in any way? Yes. Being able to tell how many bugs of which of these kinds are around is both interesting and potentially useful. Stewart. -- My e-mail address is valid but not my primary mailbox. Please keep replies on the 'group where everybody may benefit. |
December 02, 2012 [Issue 2461] Duplicate typedef (with different initializer) in module has wrong value | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2461 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich@gmail.com Resolution| |WORKSFORME --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-01 16:46:46 PST --- Can't recreate in 2.060 with -d. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation