新版本的变更 / Swift 5.8

// *** in version 5.8: ***
print(#file)

// *** before: ***
print(#filePath)


#file evaluates to a string literal containing the full path to the current source file.