Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 2, 2021

Infer additional captures in user-written types according to the rules given
in the doc comment of ExpandCaptures.

odersky added 4 commits July 2, 2021 17:39
 - No need to duplicate mode switches
 - Remove discrepancy between typedType and typedAheadType
scala-meta gives persistent parse errors for previous version of the two changes.
I could not yet minimize.
Infer additional captures in user-written types according to the rules given
in the doc comment of `ExpandCaptures`.
@odersky odersky changed the title Generalize rule for inferring capture sets from the result type. Support abbreviated capturing annotations Jul 5, 2021
odersky added 3 commits July 5, 2021 12:59
 - Fix bug in copy for dependent function types: parent type needs to
   be changed as well if refinement has changed.
 - Refine redundant type checking to eliminate false notices.
@odersky odersky merged commit 2d22ac2 into scala:cc-experiment Jul 5, 2021
@odersky odersky deleted the more-abbrevs branch July 5, 2021 17:29
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.

1 participant