[swift-users] Possible bug in Swift REPL autocompletion?

Eugenio Baglieri baglieri.eugenio at gmail.com
Thu Dec 22 15:19:17 CST 2016


Good evening, i was  playing with swift REPL. I imported Darwin and using c functions. I noted that autocompletion is unusable if the last character is a parenthesis “(“. 
The autocompletion seems to not get account of the already written function name, and after parenthesis shows as possible completion an infinite list with all the parameters of all loaded libraries. 

Is this an issue that could be opened? You can reproduce this following these steps:

- launch swift from terminal
- write “import Darwin” on Mac, or “import Glibc” on Ubuntu
- digit “fop” and press tab, you’ll get autocompleted with “fopen(“ press tab again

— 
Eugenio B.




More information about the swift-users mailing list