package unit.issues;

private abstract A(String) from String {}

class Issue4777 extends Test {
	function test() {
		var map:Map<A, String> = new Map();
		map["foo"] = "bar";
		eq("bar", map["foo"]);
	}
}