devxoul / Then

✨ Super sweet syntactic sugar for Swift initializers
MIT License
4.18k stars 290 forks source link

Unreliable Autocomplete at class level #38

Closed txaiwieser closed 7 years ago

txaiwieser commented 7 years ago

Just wondering if anyone else is having problems with autocompletion inside then closure.. It seems to work every time when using with local variables inside functions, but with class/struct level variables it simply does not autocomplete.

I'm using the Swift 2.3 version with Xcode 8 but the problem persists...

(I know this is probably a SourceKit thing, but just wondering if is happening to anyone else)

devxoul commented 7 years ago

Duplicated with #14. Thank you for letting me know that it doesn't work in class scope. I can open a Swift bug report now 👍