http://d.puremagic.com/issues/show_bug.cgi?id=8651
--- Comment #1 from monarchdo...@gmail.com 2012-09-15 23:53:18 PDT ---
Also, simple SlicoOp operations should be nothrow:
nothrow void foo(int[] a)
{
a[] += 5;
}
Error: _arrayExpSliceAddass_i is not nothrow
Error: function main.foo 'foo' is
http://d.puremagic.com/issues/show_bug.cgi?id=8589
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=8657
--- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-09-16 04:47:16 PDT ---
(In reply to comment #0)
[snip]
It shows that the next and base properties of the TypeInfo generated for
const(int[2]) and immutable(int[2]) lose the qualifier.
http://d.puremagic.com/issues/show_bug.cgi?id=4090
--- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-09-16 04:53:49 PDT ---
*** Issue 8649 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=8649
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8645
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||ice, pull
http://d.puremagic.com/issues/show_bug.cgi?id=8667
Summary: selective import breaks normal overload resolution
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=8668
Summary: public selective import makes functions conflict when
otherwise they don't
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
DMD version 2.60 (Linux, 32/64 bit). Ubuntu 12.04, Linux
3.2.0-30-generic
File datastructures.d:
module datastructures;
import std.container;
import std.stdio;
struct MyStruct(T) {
T* element;
}
File tests.d:
import datastructures;
void main() {
int i = 0;
}
I get this message in
I think this is the wrong newsgroup. Normally you'd use
digitalmars.D.learn.
But when compiling you should put all your custom modules on the
command line.
dmd tests.d datastructures.d
And that will solve it. Alternatively you can compile them
separately then put all the .o files together
On Sunday, 16 September 2012 at 14:13:02 UTC, Adam D.
Well, sometimes it works and sometimes doesn't. For example, if I
exclude std.stdio import from the module file, then it works just
with dmd tests.d. Although yersterday it worked fine even with
imported stdio. It this undefined behavior?
On Sunday, 16 September 2012 at 14:28:40 UTC, Andrey wrote:
Well, sometimes it works and sometimes doesn't. For example, if
I exclude std.stdio import from the module file, then it works
just with dmd tests.d. Although yersterday it worked fine
even with imported stdio. It this undefined
http://d.puremagic.com/issues/show_bug.cgi?id=8669
Summary: TemplateThisParameter should change member function's
qualifier
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity:
Thank you for clearance. ^_^ I hope this will find its way
somewhere to official docs.
I suppose, this topic is closed then if there is nothing more to
add.
http://d.puremagic.com/issues/show_bug.cgi?id=8669
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=8617
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull, rejects-valid
http://d.puremagic.com/issues/show_bug.cgi?id=8657
--- Comment #2 from Rainer Schuetze r.sagita...@gmx.de 2012-09-16 10:23:53
PDT ---
(In reply to comment #1)
(In reply to comment #0)
[snip]
TypeInfo_Const.next specifies the TypeInfo object of the type that removed
head
const qualifier
http://d.puremagic.com/issues/show_bug.cgi?id=8666
--- Comment #2 from Caligo iteronve...@gmail.com 2012-09-16 10:53:57 PDT ---
(In reply to comment #1)
This is a known anomaly. I assume you are proposing that returning long is the
right way to go about it, but it really isn't.
One
http://d.puremagic.com/issues/show_bug.cgi?id=8670
Summary: IFTI fails from aliases
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
http://d.puremagic.com/issues/show_bug.cgi?id=8671
Summary: Segmentation fault with 1.0 - uniform(0.0, 1.0)
Product: D
Version: D2
Platform: x86_64
OS/Version: Mac OS X
Status: NEW
Severity: major
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=7728
--- Comment #1 from bearophile_h...@eml.cc 2012-09-16 13:32:15 PDT ---
See also an alternative proposal, Issue 8672
--
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=8672
Summary: %% operator
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
http://d.puremagic.com/issues/show_bug.cgi?id=8671
--- Comment #1 from Peter Alexander peter.alexander...@gmail.com 2012-09-16
13:39:41 PDT ---
Still occurs in git HEAD as of the time of this post.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=8638
monarchdo...@gmail.com changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #2
http://d.puremagic.com/issues/show_bug.cgi?id=8672
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8672
--- Comment #2 from Walter Bright bugzi...@digitalmars.com 2012-09-16
14:46:20 PDT ---
*** Issue 7728 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You
http://d.puremagic.com/issues/show_bug.cgi?id=7728
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8665
--- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2012-09-16 16:24:17
PDT ---
If the decision is that we want different behavior than the spec dictates, then
the spec needs to be changed, but as it stands, according to the spec, this
http://d.puremagic.com/issues/show_bug.cgi?id=8617
--- Comment #3 from github-bugzi...@puremagic.com 2012-09-16 16:25:17 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8672
--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2012-09-16
16:35:40 PDT ---
The point is, the programmer has to take extra care regardless.
All definitions of modulus are a land mine, as they are all arbitrary. There
is no such
http://d.puremagic.com/issues/show_bug.cgi?id=8672
--- Comment #5 from bearophile_h...@eml.cc 2012-09-16 17:06:26 PDT ---
(In reply to comment #4)
The point is, the programmer has to take extra care regardless.
I am not the only one making mistakes with the C-style modulus, I know of other
http://d.puremagic.com/issues/show_bug.cgi?id=8672
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
Is there any use for the way C-style modulus interacts with
negative numbers? It seems little more than broken on the basis
of making positive number modulus operations efficient back when
C was created.
On Monday, 17 September 2012 at 01:15:56 UTC, ixid wrote:
Is there any use for the way C-style modulus interacts with
negative numbers? It seems little more than broken on the basis
of making positive number modulus operations efficient back
when C was created.
This is not a group for
http://d.puremagic.com/issues/show_bug.cgi?id=8673
Summary: enum z = [0][(()=$-1)()]; crashes the compiler
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: CTFE
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=8672
--- Comment #7 from bearophile_h...@eml.cc 2012-09-16 19:16:51 PDT ---
(In reply to comment #6)
since there is no standard definition for it,
Most computer languages have one of two definitions. C99 and D use one, I am
talking about the
http://d.puremagic.com/issues/show_bug.cgi?id=7896
--- Comment #6 from github-bugzi...@puremagic.com 2012-09-16 19:17:33 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8284
--- Comment #2 from github-bugzi...@puremagic.com 2012-09-16 19:22:37 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8332
--- Comment #2 from github-bugzi...@puremagic.com 2012-09-16 19:38:53 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8674
Summary: template class name unconsistent behavior
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=7648
--- Comment #8 from github-bugzi...@puremagic.com 2012-09-16 20:45:24 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8643
--- Comment #2 from github-bugzi...@puremagic.com 2012-09-16 20:45:19 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=8672
--- Comment #8 from Jonathan M Davis jmdavisp...@gmx.com 2012-09-16 20:50:36
PDT ---
Even Fortran is now and then adding important features today. Generally only
dead languages stop changing. Please keep this in mind.
If something is truly
http://d.puremagic.com/issues/show_bug.cgi?id=8672
--- Comment #9 from Walter Bright bugzi...@digitalmars.com 2012-09-16
20:53:43 PDT ---
(In reply to comment #7)
(In reply to comment #6)
since there is no standard definition for it,
C99 and D use one,
C99 leaves it as implementation
44 matches
Mail list logo