Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.