Skip to content

Commit e7b107b

Browse files
committed
Ensure that there is a syntax error even with lazy parsing.
Without any syntax errors prior to lazy parsing, we'll reject this in valid-parse testing of the new parser. Adding this doesn't change the fundamental nature of this test.
1 parent 599874a commit e7b107b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

validation-test/Parse/delayed-members-open-prop-scope.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-swift-frontend -typecheck -experimental-skip-all-function-bodies %s
22

3+
var : Int
4+
35
struct A {
46
let prop: Int = {
57

0 commit comments

Comments
 (0)