We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2495f8 + 99b86ac commit 0fb2739Copy full SHA for 0fb2739
test/NameLookup/name_lookup.swift
@@ -653,3 +653,12 @@ func sr9015() {
653
let closure1 = { closure2() } // expected-error {{circular reference}} expected-note {{through reference here}} expected-note {{through reference here}}
654
let closure2 = { closure1() } // expected-note {{through reference here}} expected-note {{through reference here}} expected-note {{through reference here}}
655
}
656
+
657
+func color(with value: Int) -> Int {
658
+ return value
659
+}
660
661
+func useColor() {
662
+ let color = color(with: 123)
663
+ _ = color
664
0 commit comments