mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This both addresses a crash during incremental re-parse (rdar://57679731) and generally avoids violating invariants for interacting with the parser library.
10 lines
154 B
Swift
10 lines
154 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %validate-incrparse %s --test-case REPLACE
|
|
|
|
|
|
var value: Int {
|
|
get { fatalError() }
|
|
<<REPLACE<|||}>>>
|
|
|
|
let x = 10
|