November 25, 2009 General » Re: D array expansion and non-deterministic re-allocation | |||
|---|---|---|---|
| |||
...statements. What if adding to a.length outputs it's argument? Then the optimizer would... | |||
November 25, 2009 Issues » [Issue 3550] New: array.dup violates const/invariant without a cast. | |||
|---|---|---|---|
| |||
...d", arr[0].x); } This compiles and outputs 5. I believe dup should statically fail... | |||
November 24, 2009 General » Re: D array expansion and non-deterministic re-allocation | |||
|---|---|---|---|
| |||
...is one that has no inputs or outputs. In my mind it is not buggy... | |||
November 21, 2009 Issues » [Issue 3538] New: Default value of alias template parameter is instantiated only once. | |||
|---|---|---|---|
| |||
...Foo!double B; alias Foo!int A; outputs Boo!(double) Boo!(double) while it should... | |||
November 20, 2009 General » Re: Short list with things to finish for D2 | |||
|---|---|---|---|
| |||
...brainfuck using operators! auto bf = new BrainFuck(); bf++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.; writef(bf.toString()); // outputs "Hello World!\n" | |||
November 16, 2009 Issues » [Issue 3514] opApply should be the first-choice foreach iteration method. | |||
|---|---|---|---|
| |||
...s)
{
writeln("inside loop %d", i);
}
}
Currently outputs nothing, it should output:
inside opapply
inside... | |||
November 15, 2009 Learn » something "weird" about polymorphism | |||
|---|---|---|---|
| |||
...b);
b.foo(b);
a.foo(b);
}
--------------
outputs:
B
A
This is understandable as B... | |||
November 13, 2009 General » Re: @safe leak fix? | |||
|---|---|---|---|
| |||
...escape analysis has N inputs and M outputs. Annotation is going to be very hard... | |||
November 13, 2009 Learn » One of us is crazy: Me or {function here}.stringof | |||
|---|---|---|---|
| |||
...not:
------------------------------
void foo(){}
pragma(msg, foo.stringof);
------------------------------
Outputs "foo()", but shouldn't it just be... | |||
November 12, 2009 Issues » [Issue 3500] New: Program behaves differently with -inline | |||
|---|---|---|---|
| |||
...is "A::x()", but with -inline, it outputs "B::x()". Conclusion: the dmd inliner must... | |||
Copyright © 1999-2021 by the D Language Foundation