Skip to content

factory: replace Array parameters with ReadonlyArray#22261

Merged
mhegazy merged 2 commits into
microsoft:masterfrom
ajafff:factory-array
Apr 3, 2018
Merged

factory: replace Array parameters with ReadonlyArray#22261
mhegazy merged 2 commits into
microsoft:masterfrom
ajafff:factory-array

Conversation

@ajafff
Copy link
Copy Markdown
Contributor

@ajafff ajafff commented Mar 1, 2018

I noticed that some Node factory functions take arrays as arguments. They actually don't need to be mutable so I changed them to ReadonlyArray for better ergonomics when using existing NodeArrays.

@ajafff
Copy link
Copy Markdown
Contributor Author

ajafff commented Mar 1, 2018

CI failure on Travis testing with Node 6 looks unrelated to this change

@ghost ghost requested a review from rbuckton March 1, 2018 16:35
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Apr 3, 2018

@rbuckton any comments?

@mhegazy mhegazy merged commit a4593fd into microsoft:master Apr 3, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
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