Hello everyone!
I iam trying compile 4 lines prog on linux:
import Foundation
let filemgr = FileManager.default
let path = filemgr.currentDirectoryPath()
print(path)
and get erorr /main.swift:3:40: error: cannot call value of non-function type
'String'
let path = filemgr.currentDirectoryPath()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
<unknown>:0: error: build had 1 command failures
why?
Roman Pastushkov
[email protected]
_______________________________________________
swift-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-dev