You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
??"").isEmpty {} // expected-warning {{left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used}} {{1572:9-1573:12=}}
1574
1574
}
1575
+
1576
+
// https://github.com/apple/swift/issues/74617
1577
+
structFoo_74617{
1578
+
publicvarbar:Float{
1579
+
return123
1580
+
}
1581
+
1582
+
publicstaticfunc+(lhs:Self, rhs:Self)->Self{
1583
+
returnSelf()
1584
+
}
1585
+
}
1586
+
func testAddMemberVsRemoveCell(){
1587
+
leta=Foo_74617()
1588
+
letb=Foo_74617()
1589
+
letc=(a + b).bar() // expected-error {{cannot call value of non-function type 'Float'}} {{22-24=}}
0 commit comments