Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Jul 30, 2013

http://d.puremagic.com/issues/show_bug.cgi?id=10720

AA.dup should be disabled if Value type is not copyable.
The root cause was the use of Value.init. Built-in init property makes rvalue, therefore the 'static if' condition did not properly test 'copyable' trait of Value type.

AA.dup should be disabled if Value type is not copyable.
The root cause was the use of Value.init. Built-in `init` property makes
rvalue, therefore the 'static if' condition did not properly test
'copyable' trait of Value type.
MartinNowak added a commit that referenced this pull request Aug 1, 2013
issue 10720 - ICE with is(aaOfNonCopyableStruct.nonExistingField)
@MartinNowak MartinNowak merged commit ee1eb10 into dlang:master Aug 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants