Skip to content

Bump scalacenter/sbt-dependency-submission from 2 to 3 #6

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 20, 2024

Bumps scalacenter/sbt-dependency-submission from 2 to 3.

Release notes

Sourced from scalacenter/sbt-dependency-submission's releases.

v3.0.0

What's Changed

New Contributors

Full Changelog: scalacenter/sbt-dependency-submission@v2...v3.0.0

v2.3.1

What's Changed

Full Changelog: scalacenter/sbt-dependency-submission@v2.3.0...v2.3.1

v2.3.0

What's Changed

Full Changelog: scalacenter/sbt-dependency-submission@v2.2.2...v2.3.0

v2.2.2

What's Changed

New Contributors

Full Changelog: scalacenter/sbt-dependency-submission@v2...v2.2.2

v2.2.1

What's Changed

New Contributors

Full Changelog: scalacenter/sbt-dependency-submission@v2...v2.2.1

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [scalacenter/sbt-dependency-submission](https://github.com/scalacenter/sbt-dependency-submission) from 2 to 3.
- [Release notes](https://github.com/scalacenter/sbt-dependency-submission/releases)
- [Commits](scalacenter/sbt-dependency-submission@v2...v3)

---
updated-dependencies:
- dependency-name: scalacenter/sbt-dependency-submission
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Author

dependabot bot commented on behalf of github May 20, 2024

Dependabot tried to add @hamzaremmal as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/rochala/dotty/pulls/6/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the rochala/dotty repository. // See: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 20, 2024
rochala pushed a commit that referenced this pull request Dec 18, 2024
Implement the `#6` point form SIP-64 i.e.
---

### 6. Context Bounds for Polymorphic Functions

Currently, context bounds can be used in methods, but not in function
types or function literals. It would be nice propose to drop this
irregularity and allow context bounds also in these places. Example:

```scala
type Comparer = [X: Ord] => (x: X, y: X) => Boolean
val less: Comparer = [X: Ord as ord] => (x: X, y: X) =>
  ord.compare(x, y) < 0
```

The expansion of such context bounds is analogous to the expansion in
method types, except that instead of adding a using clause in a method,
we insert a context function type.

For instance, the `type` and `val` definitions above would expand to
```scala
type Comparer = [X] => (x: X, y: X) => Ord[X] ?=> Boolean
val less: Comparer = [X] => (x: X, y: X) => (ord: Ord[X]) ?=>
  ord.compare(x, y) < 0
```

The expansion of using clauses does look inside alias types. For
instance,
here is a variation of the previous example that uses a parameterized
type alias:
```scala
type Cmp[X] = (x: X, y: X) => Boolean
type Comparer2 = [X: Ord] => Cmp[X]
```
The expansion of the right hand side of `Comparer2` expands the `Cmp[X]`
alias
and then inserts the context function at the same place as what's done
for `Comparer`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants