mxcl / Path.swift

Delightful, robust, cross-platform and chainable file-pathing functions.
The Unlicense
946 stars 36 forks source link

Issue with CLion. #49

Closed lakshya-sky closed 5 years ago

lakshya-sky commented 5 years ago

adding Path as dependency gives error in CLion.

/Path.swift/Package.swift:15:67: error: use of unresolved identifier 'package'; did you mean 'Package'? ; import Foundation; print(String(data: try! JSONEncoder().encode(package), encoding: .utf8)!) ^~~ Package PackageDescription.Package:1:20: note: 'Package' declared here final public class Package { ^

mxcl commented 5 years ago

Report the bug with CLion, this is perfectly valid.