We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
as
The simplest use case is support for Any subtyping, but we also need to support existential types in the future, such as
Any
protocol P {} extension Int: P {} let x = 5 as P
After handling of as is implemented, we would be able to handle explicit signatures properly:
let x: P = 5
by internally converting this declaration to AST that's equivalent to let x = 5 as P.
let x = 5 as P
The text was updated successfully, but these errors were encountered:
MaxDesiatov
No branches or pull requests
The simplest use case is support for
Any
subtyping, but we also need to support existential types in the future, such asAfter handling of
as
is implemented, we would be able to handle explicit signatures properly:by internally converting this declaration to AST that's equivalent to
let x = 5 as P
.The text was updated successfully, but these errors were encountered: