This is a regression for legacy macros that will be fixed in the next commit
resolve_legacy_scope
resolve_lexical_macro_path_segment