Skip to content

Commit 35ee9c8

Browse files
[gardening] Remove path to Ben Langmuir's home directory :-)
1 parent ff45b5a commit 35ee9c8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/stmt/if_while_var.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class D : B {}// expected-note * {{did you mean 'D'?}}
2828
if let {} // expected-error {{expected '{' after 'if' condition}} expected-error {{pattern matching in a condition requires the 'case' keyword}}
2929
if let x = {} // expected-error{{'{' after 'if'}} expected-error {{variable binding in a condition requires an initializer}} expected-error{{initializer for conditional binding must have Optional type, not '() -> ()'}}
3030

31-
/Users/blangmuir/src/s/swift/test/stmt/if_while_var.swift
32-
3331
if let x = foo() {
3432
} else {
3533
// TODO: more contextual error? "x is only available on the true branch"?

0 commit comments

Comments
 (0)