Skip to content

Remove tailing semi-colons in .swift #694

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 2 commits into from
Dec 21, 2015

Conversation

dduan
Copy link
Contributor

@dduan dduan commented Dec 21, 2015

The sed Force Awakens (sorry, did this while waiting for the movie to start).

build-script -RT all passes on OS X.

@@ -1,5 +1,5 @@
// RUN: %target-parse-verify-swift -parse-as-library

// make sure trailing semicolons are valid syntax in toplevel library code.
var x = 4;
var x = 4
Copy link
Contributor

Choose a reason for hiding this comment

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

This one needs to stay.

@gribozavr
Copy link
Contributor

Well, if we remove all of these semicolons (which I agree is the right thing for individual tests), we decrease our test coverage for semicolons. Would you mind writing some targeted tests for the parser?

@dduan dduan force-pushed the semicolon_removal branch from 1837416 to 239c662 Compare December 21, 2015 05:12
@dduan
Copy link
Contributor Author

dduan commented Dec 21, 2015

@gribozavr I'll take a stab at it.

@dduan
Copy link
Contributor Author

dduan commented Dec 21, 2015

@gribozavr test added, what you think?

@gribozavr
Copy link
Contributor

@dduan Thanks!

gribozavr added a commit that referenced this pull request Dec 21, 2015
Remove tailing semi-colons in .swift
@gribozavr gribozavr merged commit 48dc469 into swiftlang:master Dec 21, 2015
@dduan dduan deleted the semicolon_removal branch December 23, 2019 21:49
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
[Hotfix] Return results accordingly from the spawned process
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.

2 participants