Skip to content

Conversation

@terurou
Copy link
Member

@terurou terurou commented Sep 4, 2019

Related #8747 and #8754

@terurou
Copy link
Member Author

terurou commented Sep 4, 2019

Should I rename MapEntry to either KeyValue or other?

@RealyUniqueName
Copy link
Member

I agree MapEntry doesn't fit now. Maybe ArrayKeyValue is a better name, because KeyValue is usually an object with key and value fields.

@RealyUniqueName
Copy link
Member

Though it looks like array-based key-value is used everywhere in JS API. So KeyValue is good too.

@haxiomic
Copy link
Member

haxiomic commented Sep 4, 2019

Thanks @terurou, yeah I vote KeyValue too because it seems like a common thing in ES6

@terurou
Copy link
Member Author

terurou commented Sep 5, 2019

Thanks for your comments!
I rename MapEntry to KeyValue.

@RealyUniqueName RealyUniqueName merged commit be528d9 into HaxeFoundation:development Sep 5, 2019
terurou added a commit to terurou/haxe that referenced this pull request Sep 5, 2019
@terurou terurou deleted the js-mapentry branch September 5, 2019 13:31
haxiomic pushed a commit that referenced this pull request Sep 5, 2019
* Fix TypedArray.entries()

* Use MayEntry instead of TypedArrayEntry

* Use fully qualified name

* Use KeyValue instead of MapEntry (related #8757)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants