Remove top const from dynamic array types and pointer types in IFTI. #554

Merged
merged 1 commit into from Dec 11, 2011

Conversation

Projects
None yet
2 participants
Member

9rnsr commented Dec 11, 2011

The change Walter and Andrei decided.

All test suites pass, and following original sample also compiles.

import std.algorithm;
void main() {
    const arr = [1, 2, 3];
    assert(reduce!"a*b"(arr) == 6);
}
Owner

WalterBright commented Dec 11, 2011

That was fast!

@WalterBright WalterBright added a commit that referenced this pull request Dec 11, 2011

@WalterBright WalterBright Merge pull request #554 from 9rnsr/remove_topconst
Remove top const from dynamic array types and pointer types in IFTI.
cc0cde2

@WalterBright WalterBright merged commit cc0cde2 into dlang:master Dec 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment