Closed rickwierenga closed 3 years ago
Hi @rickwierenga, did you find a workaround?
Just in case, the problem does not come from Path
but from how the DebuggerSupport reflects. The following works fine:
let p = Path.home / "s4tf"
print("\(p)")
Cheers!
Weird. Here is a Colab test and I can confirm your code works perfectly fine... I have no clue as to why this happens. No, I have not found a workaround yet.
only tested this on Colab
Possibly a Swift compiler bug. The diagnostic certainly looks more fundamental than a source error.
I added a PathStruct
typealias
since there is no fix or workaround with Swift 5.5 even.
I'm not sure if this is my issue, but I get this error when I try to do anything with Path on Google Colab:
My code: