partial merging of scope filling into semantic.declaration