Skip to content

Update opaque type aliases status & link #6077

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

Merged
merged 1 commit into from
Mar 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/reference/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ The primary goal of the language constructs in this section is to make common pr

The primary goal of the language constructs in this section is to enable high-level, safe code without having to pay a performance penalty.

- Opaque Type Aliases `opaque type A = T`
- [Opaque Type Aliases](https://dotty.epfl.ch/docs/reference/other-new-features/opaques.html) `opaque type A = T`

([Pending](https://github.com/lampepfl/dotty/pull/4028)) An opaque alias defines a new type `A` in terms of an existing type `T`. Unlike the previous modeling using value classes, opaque types never box. Opaque types are described in detail in [SIP 35](https://docs.scala-lang.org/sips/opaque-types.html).
An opaque alias defines a new type `A` in terms of an existing type `T`. Unlike the previous modeling using value classes, opaque types never box. Opaque types are described in detail in [SIP 35](https://docs.scala-lang.org/sips/opaque-types.html).

- [Erased parameters](http://dotty.epfl.ch/docs/reference/other-new-features/erased-terms.html)

Expand All @@ -142,4 +142,4 @@ The primary goal of the language constructs in this section is to enable high-le
constraints such as `=:=` and `<:<` that are expressed through implicits.
Erased parameters improve both run times (since no argument has to be constructed) and compile times (since potentially large arguments can be eliminated early).

See also: [A classification of proposed language features](./features-classification.html)
See also: [A classification of proposed language features](./features-classification.html)