# Macro vs import declaration

**URL:** <https://forums.swift.org/t/macro-vs-import-declaration/80175>\
**Category:** Compiler\
**Tags:** swift, import, macros\
**Created:** [May 28, 2025, 8:25am UTC](https://forums.swift.org/t/macro-vs-import-declaration/80175 "2025-05-28T08:25:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pelekon](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@pelekon](https://forums.swift.org/u/pelekon)\
**Post date:** [May 28, 2025, 8:25am UTC](https://forums.swift.org/t/macro-vs-import-declaration/80175/1 "2025-05-28T08:25:13Z")

</div>

Hello,  
Is there any specific reason why the macro is not supported as an import-kind in the import declaration? [TSPL](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/declarations#Import-Declaration) lists various useful import kinds, but unfortunately the macro is missing there.
