Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added overload and rest arguments section #496

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MrcSnm
Copy link

@MrcSnm MrcSnm commented Oct 8, 2021

Added function overload
Added function rest arguments

Added function overload 
Added function rest arguments
@Geokureli
Copy link

Everyone in the haxe discords is losing their shit because no one knew these were possible. Why was this not documented?

Added  version in which they were introduced
@RealyUniqueName
Copy link
Member

Rest arguments section needs a link to or at least a mention of haxe.Rest API

Added documentation reference and a notice to the spread operator
@MrcSnm
Copy link
Author

MrcSnm commented Oct 9, 2021

Rest arguments section needs a link to or at least a mention of haxe.Rest API

I added that and a notice that it is also possible to use spread operator too.

content/02-types.md Outdated Show resolved Hide resolved
@RealyUniqueName
Copy link
Member

@Simn is that enough for overloading?

@Simn
Copy link
Member

Simn commented Oct 13, 2021

No, this needs a more elaborate introduction to clarify that we don't support full overloads and such things. The documentation for this has to be approached differently, so I suggest that we split up the PR accordingly.

@MrcSnm
Copy link
Author

MrcSnm commented Oct 13, 2021

No, this needs a more elaborate introduction to clarify that we don't support full overloads and such things. The documentation for this has to be approached differently, so I suggest that we split up the PR accordingly.

I would split that PR if it is accepted for the rest arguments.

That apart, I think having to extern inline overload ( and that has bits of explanation about what each keyword is doing ) pretty surely means that overload is not fully supported.

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.

None yet

5 participants