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

Type aliases #3

Closed
wants to merge 5 commits into from
Closed

Type aliases #3

wants to merge 5 commits into from

Conversation

dnpetrov
Copy link
Contributor

@dnpetrov dnpetrov commented Apr 7, 2016

Next iteration.
Reflection & stdlib parts are still blank.


typealias Array2D<T> = Array<Array<T>>
typealias Illegal = Array2D<Nothing> // Error: type 'Array<Nothing>' is illegal
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear from these examples that this is an error as well:

interface I<T : Any>
typealias A<T> = I<T> // ERROR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

abreslav and others added 5 commits April 12, 2016 17:12
@abreslav
Copy link
Contributor

Merged manually

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.

None yet

2 participants