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

[stdlib] Deprecate ExpressibleByStringInterpolation #4121

Merged
merged 2 commits into from
Aug 17, 2016

Conversation

dabrahams
Copy link
Contributor

What's in this pull request?

Resolved bug number: (SR-)


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

  1. Builds the compiler incrementally.
  2. Builds the standard library only for macOS. Simulator standard libraries and
    device standard libraries are not built.
  3. lldb is not built.
  4. The test and validation-test targets are run only for macOS. The optimized
    version of these tests are not run.

A smoke test on Linux does the following:

  1. Builds the compiler incrementally.
  2. Builds the standard library incrementally.
  3. lldb is built incrementally.
  4. The swift test and validation-test targets are run. The optimized version of these
    tests are not run.
  5. lldb is tested.

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

We know its API is
inadequate (https://bugs.swift.org/browse/SR-1260?jql=text%20~%20%22StringInterpolationConvertible%22)
and don't want to be constrained to supporting it in future versions.

@tkremenek
Copy link
Member

@swift-ci smoke test os x

@dabrahams
Copy link
Contributor Author

@swift-ci Please smoke test Linux platform

@dabrahams dabrahams added the swift evolution pending discussion Flag → feature: A feature that has a Swift evolution proposal currently in review label Aug 10, 2016
@tkremenek
Copy link
Member

@swift-ci test linux

Dave Abrahams and others added 2 commits August 17, 2016 13:45
We know its API is
inadequate (https://bugs.swift.org/browse/SR-1260?jql=text%20~%20%22StringInterpolationConvertible%22)
and don't want to be constrained to supporting it in future versions.
Since the ExpressibleByStringInterpolation protocol is also deprecated
now, it makes little sense to suggest using it instead of
StringInterpolationConvertible. Instead, the message now recommends
considering an init(_:String).
See
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160808/026171.html
for some more details.
@moiseev moiseev force-pushed the deprecate-expressiblebystringinterpolation branch from 4b79773 to c2fb005 Compare August 17, 2016 20:59
@moiseev moiseev added swift evolution approved Flag → feature: A feature that was approved through the Swift evolution process and removed swift evolution pending discussion Flag → feature: A feature that has a Swift evolution proposal currently in review labels Aug 17, 2016
@moiseev
Copy link
Contributor

moiseev commented Aug 17, 2016

@swift-ci Please smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Aug 17, 2016

Usually takes two invocations for some reason.

@swift-ci please smoke test.

@tkremenek
Copy link
Member

@CodaFi I think it is a problem with status getting reported. The actual builds are getting kicked off.

@shahmishal
Copy link
Member

@CodaFi First trigger started the build, now we have two build running for same PR.
screen shot 2016-08-17 at 2 06 43 pm

@tkremenek tkremenek merged commit 73dbfcb into master Aug 17, 2016
@moiseev moiseev deleted the deprecate-expressiblebystringinterpolation branch August 17, 2016 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swift evolution approved Flag → feature: A feature that was approved through the Swift evolution process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants