mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the position is in the region that is inserted by the edits, 'pre-edit' position shouldn't exist. So we cannot reuse the node at the position. rdar://problem/45259469 https://bugs.swift.org/browse/SR-8995
7 lines
204 B
Swift
7 lines
204 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %validate-incrparse %s --test-case STRING
|
|
|
|
// SR-8995 rdar://problem/45259469
|
|
|
|
self = <<STRING<|||_ _>>>foo(1)[object1, object2] + o bar(1)
|