Изменения в новых версиях / Swift 5.8
Путь к текущему swift файлу
Ленивые переменные
Обратная совместимость функции
// *** in version 5.8: ***
print
(
#file
)
// *** before: ***
print
(
#filePath
)
#file evaluates to a string literal containing the full path to the current source file.