Skip to content

Conversation

@natecook1000
Copy link
Member

The mutating collection subscript for discontiguous slices assigns to the wrong group of indices. This fixes the behavior and adds test coverage.

rdar://problem/70690643

The mutating collection subscript for discontiguous slices assigns to the wrong group
of indices. This fixes the behavior and adds test coverage.

rdar://problem/70690643
@natecook1000
Copy link
Member Author

@swift-ci Please smoke test

Copy link
Member

@lorentey lorentey left a comment

Choose a reason for hiding this comment

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

Looks good! Are we intentionally leaving these non-@inlinable?

@natecook1000
Copy link
Member Author

Per conversations before the initial adoption, yes, but it's probably worth verifying that's a good idea. Thanks!

@natecook1000 natecook1000 merged commit cae81ee into swiftlang:main Nov 18, 2020
ainu-bot added a commit to google/swift that referenced this pull request Nov 18, 2020
* 'main' of github.com:apple/swift:
  Remove old swift_dynamicCast implementation (swiftlang#34789)
  Fix issues with discontiguous-slice assignment (swiftlang#34708)
  [Concurrency] Emit @asyncHandler bodies as traps.
  [Clang importer] Narrow mirrored-import fixes to only consider 'async'.
  [Clang importer] Make sure we mirror protocol decls for all names.
  [sil] Element shadowing of SILInstruction::getKind() by renaming MarkUninitializedInst::get{,MarkUninitialized}Kind().
  XFAIL Flaky Incremental Tests Harder
  [allocbox-to-stack] Eliminate temporary dominance issue and fix improper use of non-ossa generic method createDestroyValue.
  [Serialization] Fix crashes when allowing compiler errors in modules
  [windows] Set TMP and TEMP, as well as TMPDIR.
  [android] Mark Interpreter/async as an executable test.
  IRGen: Allow calling a pre-defined async silgen_name function using the async convention
  Demangling: avoid implicit fallthrough
  [Runtime] Change ProtocolCache, NominalCache, and HashableConformances to ConcurrentReadableHashMap.
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