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

Introduce ... syntax #342

Merged
merged 2 commits into from
Jul 27, 2020
Merged

Introduce ... syntax #342

merged 2 commits into from
Jul 27, 2020

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Jul 21, 2020

This PR contains an update of syntax. We are introducing ... method type syntax and deprecating overload def syntax.

def foo: () -> String | ...           # New syntax
overload def foo: () -> String        # Deprecated

soutaro and others added 2 commits July 21, 2020 11:30
Deprecating `overload def` and dropping support for `super` method type.
@soutaro
Copy link
Member Author

soutaro commented Jul 27, 2020

No semantics update implemented yet while we are planning to change the semantics to allow overloading super class's method types.

@soutaro soutaro merged commit 18ca1c2 into master Jul 27, 2020
@soutaro soutaro deleted the dot3 branch July 27, 2020 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant