<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Jan 8, 2016, at 11:28 AM, Wallacy <<a href="mailto:wallacyf@gmail.com" class="">wallacyf@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">File a bug on <a href="http://bugs.swift.org/" class="">bugs.swift.org</a> is enough?<br class=""></div></div></blockquote><div><br class=""></div><div>That would be great, thanks!</div><div><br class=""></div><div>-Chris</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">Em sex, 8 de jan de 2016 às 17:08, Chris Lattner <<a href="mailto:clattner@apple.com" class="">clattner@apple.com</a>> escreveu:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
> On Jan 8, 2016, at 9:08 AM, Jens Alfke via swift-users <<a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>> wrote:<br class="">
><br class="">
><br class="">
>> On Jan 8, 2016, at 4:24 AM, Wallacy via swift-users <<a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>> wrote:<br class="">
>><br class="">
>> class iClass{<br class="">
>> let myProperty:(String)->() = { value in<br class="">
>> print("1: \(value)");<br class="">
>> }<br class="">
>> func myProperty(value: String)->() {<br class="">
>> print("2: \(value)");<br class="">
>> }<br class="">
>> }<br class="">
><br class="">
> I’m surprised Swift even allows you to declare a property and a method with the same name.<br class="">
<br class="">
Agreed, this seems like a bug in the redeclaration checking logic.<br class="">
<br class="">
-Chris<br class="">
<br class="">
</blockquote></div></div>
</div></blockquote></div><br class=""></body></html>