Skip to content

Extract creation of method argument options to languages#3052

Merged
koesie10 merged 1 commit intomainfrom
koesie10/argument-self
Nov 6, 2023
Merged

Extract creation of method argument options to languages#3052
koesie10 merged 1 commit intomainfrom
koesie10/argument-self

Conversation

@koesie10
Copy link
Copy Markdown
Member

@koesie10 koesie10 commented Nov 3, 2023

This moves the creation of possible method argument options from the view to the languages. This allows differentiating between the languages, for example by using Argument[self] for Ruby instead of Argument[this]. Right now, this is the only difference, but in the future there will be more differences, like Argument[block] for Ruby and keyword arguments for Ruby.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

This moves the creation of possible method argument options from the
view to the languages. This allows differentiating between the
languages, for example by using `Argument[self]` for Ruby instead of
`Argument[this]`.
@koesie10 koesie10 force-pushed the koesie10/argument-self branch from e433f1e to b348356 Compare November 3, 2023 12:50
@koesie10 koesie10 marked this pull request as ready for review November 3, 2023 12:50
@koesie10 koesie10 requested a review from a team as a code owner November 3, 2023 12:50
Copy link
Copy Markdown
Contributor

@norascheuch norascheuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from what I can tell 🧸

@koesie10 koesie10 merged commit b3c5afb into main Nov 6, 2023
@koesie10 koesie10 deleted the koesie10/argument-self branch November 6, 2023 09:59
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.

2 participants