Build infrastructure#6
Merged
VladUreche merged 5 commits intoscala:masterfrom Jan 24, 2014
VladUreche:topic/build
Merged
Conversation
Contributor
Author
|
Review by @DarkDimius. |
project/Build.scala
Outdated
Member
There was a problem hiding this comment.
Should be named DottyBuild.
btw is there any reason to have a Scala build file? It seems that all settings here can be in .sbt.
Contributor
Author
There was a problem hiding this comment.
Right now, we could have build.sbt and it would suffice, but if we start preparing multiple projects, it will be easier to use an sbt project.
Contributor
Author
|
@sjrd, all ok? |
Member
|
LGTM Yep :) |
Contributor
Author
Contributor
Author
|
Since nobody voiced any concerns I'm merging this. |
romanowski
pushed a commit
to romanowski/dotty
that referenced
this pull request
Oct 23, 2020
Create Scala signature provider that renders methods and classes
szymon-rd
pushed a commit
that referenced
this pull request
Dec 9, 2022
Remove div from search results
WojciechMazur
added a commit
that referenced
this pull request
Nov 19, 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`.
WojciechMazur
added a commit
to WojciechMazur/dotty
that referenced
this pull request
Mar 19, 2025
Backport "Handle suspension due to macro call in arbitrary phases" to LTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Just enough to enable
sbt eclipseto work and get a project file. Also an improved readme.Tests don't work yet: