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

[SR-12020] Cannot as-cast Substring to NSString on linux #3279

Closed
TellowKrinkle opened this issue Jan 13, 2020 · 2 comments
Closed

[SR-12020] Cannot as-cast Substring to NSString on linux #3279

TellowKrinkle opened this issue Jan 13, 2020 · 2 comments
Assignees

Comments

@TellowKrinkle
Copy link

Previous ID SR-12020
Radar rdar://problem/58861165
Original Reporter @TellowKrinkle
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee @spevans
Priority Medium

md5: 4eb7d09b11ac4520af684c781624820c

Issue Description:

On macOS, the following code compiles but it does not on Linux:

import Foundation
let a = "abc" as Substring as NSString
@beccadax
Copy link
Contributor

@swift-ci create

@spevans
Copy link
Collaborator

spevans commented Feb 5, 2020

#2649

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants