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

Fixing Problems after Swift3.1 Release #1808

Merged
merged 2 commits into from
Apr 6, 2017
Merged

Conversation

hanjoes
Copy link
Member

@hanjoes hanjoes commented Apr 2, 2017

Swift 3.1 was released on Mar. 27th.
The language change should be source compatible, but our implementation is using some language feature that's not guaranteed by the public API thus breaking the ANTLR4 Swift runtime build. This PR will fix those issues along with several warnings because of the language release.

The PR #1793 removing StringExtension public modifier is breaking one unit test that uses the "length" method in the old string extension. The second commit will fix this issue by unwrapping the "length" method in the SwiftTest.stg file. We don't want to expose (those pretty generic) extensions inside Swift runtime but need to make sure our generated parsers (in a different module) still works.

@parrt
Copy link
Member

parrt commented Apr 6, 2017

Ah. yeah, just saw the errors fail: https://travis-ci.org/antlr/antlr4/jobs/219371570

@parrt parrt added this to the 4.7.1 milestone Apr 6, 2017
@parrt parrt merged commit 6d4e019 into antlr:master Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants