<div dir="ltr">File a bug on <a href="http://bugs.swift.org">bugs.swift.org</a> is enough?<br><br><div class="gmail_quote"><div dir="ltr">Em sex, 8 de jan de 2016 às 17:08, Chris Lattner <<a href="mailto:clattner@apple.com">clattner@apple.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Jan 8, 2016, at 9:08 AM, Jens Alfke via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:<br>
><br>
><br>
>> On Jan 8, 2016, at 4:24 AM, Wallacy via swift-users <<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>> wrote:<br>
>><br>
>> class iClass{<br>
>> let myProperty:(String)->() = { value in<br>
>> print("1: \(value)");<br>
>> }<br>
>> func myProperty(value: String)->() {<br>
>> print("2: \(value)");<br>
>> }<br>
>> }<br>
><br>
> I’m surprised Swift even allows you to declare a property and a method with the same name.<br>
<br>
Agreed, this seems like a bug in the redeclaration checking logic.<br>
<br>
-Chris<br>
<br>
</blockquote></div></div>