Skip to content
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

Nested (non-capturing) type aliases #405

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update proposals/nested-typealias.md
Co-authored-by: Luca Kellermann <lukellmann@gmail.com>
serras and lukellmann authored Dec 23, 2024
commit 8a41671b888d8041a38539d8427b7247d1999f32
2 changes: 1 addition & 1 deletion proposals/nested-typealias.md
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ class Example<T> {
// = capture(Inner<Int>, capture(Example<S>, { T }))
// = capture(Inner<Int>, { S })
// = capture(Int) + { S } = { S } ⊆ { S } => OK
typelias Boo<S> = Example<S>.Inner
typealias Boo<S> = Example<S>.Inner
}
```