Files
swift-mirror/test/incrParse/add-close-brace-to-property.swift
Argyrios Kyrtzidis a862f2b060 [Parser/libSyntax] Avoid doing lookup for a previous parsed node when we are in backtracking mode
This both addresses a crash during incremental re-parse (rdar://57679731) and generally avoids violating invariants for interacting with the parser library.
2020-05-09 20:01:47 -07:00

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