3 ms·
Type ":help". That is, type <colon>help. The : is used to differentiate between commands to the repl and swift code.
by i_don_t_know 11y ago
Type ":help". That is, type <colon>help. The : is used to differentiate between commands to the repl and swift code.
- mingodad 11y agoThanks I didn't noticed the colon, my fault. But even after copying all to the default location /usr it still doesn't work: swift swifthello.swift <unknown>:0: error: opening import file for module 'SwiftShims': No such file or directory Also swift -I/usr/lib/swift swifthello.swift <unknown>:0: error: opening import file for module 'Swift': No such file or directory