chore: pass import_directive
by reference
#4511
Merged
import_directive
by reference
#4511