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

[DO NOT MERGE] Demo https://bugs.swift.org/browse/SR-4328 #8306

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions stdlib/public/core/Builtin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,7 @@ func _getSuperclass(_ t: Any.Type) -> AnyClass? {
// and type checking will fail.

/// Returns `true` if `object` is uniquely referenced.
@_versioned
@_transparent
internal func _isUnique<T>(_ object: inout T) -> Bool {
public func _isUnique<T>(_ object: inout T) -> Bool {
return Bool(Builtin.isUnique(&object))
}

Expand Down
5 changes: 5 additions & 0 deletions test/stdlib/Breakage.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// RUN: %target-run-simple-swift
// REQUIRES: executable_test
let sample = "a"
+ "გთხოვთ ახლავე გაიაროთ რეგისტრაცია Unicode-ის მეათე საერთაშორისო\n"
+ "x"
11 changes: 11 additions & 0 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1515,3 +1515,14 @@ verbose-build
lit-args=-v
reconfigure
build-ninja

[preset: dave]
build-subdir=dave
skip-build-ios-device
skip-build-tvos-device
debug-swift-stdlib
skip-build-benchmarks
release
swift-stdlib-assertions
swift-stdlib-build-type=Debug
test