November 13, 2010 [phobos] phobos commit, revision 2165 | ||||
---|---|---|---|---|
| ||||
phobos commit, revision 2165 user: Masahiro Nakagawa msg: Remove @safe from assumeUnique. @safe function doesn't allow casting of mutable object to immutable. http://www.dsource.org/projects/phobos/changeset/2165 |
November 14, 2010 [phobos] phobos commit, revision 2165 | ||||
---|---|---|---|---|
| ||||
Posted in reply to dsource.org | Sorry, I overlooked the spec "No explicit casting of mutable objects to
immutable.".
I don't know the correct behavior but I accept Michel's explanation.
On Sun, 14 Nov 2010 12:52:18 +0900, dsource.org <noreply at dsource.org> wrote:
> phobos commit, revision 2165
>
>
> user: Masahiro Nakagawa
>
> msg:
> Remove @safe from assumeUnique. @safe function doesn't allow casting of
> mutable object to immutable.
>
> http://www.dsource.org/projects/phobos/changeset/2165
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
|
Copyright © 1999-2021 by the D Language Foundation