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

[REG2.068] Fix Issue 16974 - Equal associative arrays with associative array keys are considered unequal #1715

Merged
merged 1 commit into from
Dec 28, 2016

Conversation

denis-sh
Copy link
Contributor

Use correct overload of hashOf in _aaGetHash.

This incorrect usage is possible because of Issue 16973 - hashOf has error-prone signature as (T, seed) may be confused with (ptr, length).

@dlang-bot
Copy link
Contributor

dlang-bot commented Dec 15, 2016

Fix Bugzilla Description
16973 hashOf has error-prone signature as (T, seed) may be confused with (ptr, length)
16974 [REG2.068] Equal associative arrays with associative array keys are considered unequal

@WalterWaldron
Copy link
Contributor

Since this is a regression could you change the branch to dlang:stable and modify the title to include [REG2.068] so that it gets proper treatment.

@denis-sh denis-sh changed the base branch from master to stable December 17, 2016 06:24
@denis-sh denis-sh changed the title Fix Issue 16974 - Equal associative arrays with associative array keys are considered unequal [REG2.068] Fix Issue 16974 - Equal associative arrays with associative array keys are considered unequal Dec 17, 2016
…s are considered unequal

Use correct overload of `hashOf` in `_aaGetHash`.

This incorrect usage is possible because of Issue 16973 - `hashOf` has error-prone signature as `(T, seed)` may be confused with `(ptr, length)` [1].

[1] https://issues.dlang.org/show_bug.cgi?id=16973
@WalterWaldron
Copy link
Contributor

Unrelated failure in phobos, fixed in master

@MartinNowak MartinNowak merged commit d57fdb1 into dlang:stable Dec 28, 2016
tramker pushed a commit to tramker/druntime that referenced this pull request Dec 28, 2016
[REG2.068] Fix Issue 16974 - Equal associative arrays with associative array keys are considered unequal

Signed-off-by: Martin Krejcirik <mk@krej.cz>

Conflicts:
	src/rt/aaA.d
kinke pushed a commit to kinke/druntime that referenced this pull request Jan 15, 2017
Tackle issue dlang#1715 (force-inline intrinsic shims)
@denis-sh denis-sh deleted the fix-Issue-16974 branch January 19, 2017 16:00
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.

4 participants