A little of coordination for Rosettacode
bearophile
bearophileHUGS at lycos.com
Tue Jun 18 02:22:04 PDT 2013
Simen Kjaeraas:
> Tried this with 2.063.2, and there are three errors in the code
> - deserializeInto
> should return its buffer, the switch on line 19 needs a
> default: case, and
> deserializeInto tries to modify its non-buffer argument (which
> in this case is a
> const string. None of these seem to be a compiler bug.
I have introduced the first two errors in the reduction process.
The third is the one that triggers a crash of my DMD version. I
am keeping my compiler updated, I have compiled it yesterday, and
it crashes after giving the error:
test.d(28): Error: cannot modify const expression s
Now I don't know if it's a problem of just my compiler, or if
it's a normal compiler bug.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list