Skip to content

[Parse] Allow whitespaces before period in superclass-expression #5423

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
Oct 25, 2016

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Oct 24, 2016

Previously:

error: expected '.' or '[' after 'super'
    super .init()
          ^

I think there's no reason to reject this while accepting self .init()

Previously:
  error: expected '.' or '[' after 'super'
      super .init()
            ^

There's no reason to reject this while accepting 'self .init()'
@slavapestov
Copy link
Contributor

@swift-ci Please smoke test

@lattner
Copy link
Contributor

lattner commented Oct 24, 2016

+1 for consistency, thanks!

@rintaro rintaro merged commit c2279d2 into swiftlang:master Oct 25, 2016
@rintaro rintaro deleted the parse-super-period branch October 25, 2016 17:52
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.

3 participants