diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-04 00:05:10 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-04 00:05:10 +0000 |
commit | 437329d3f5b7bb5b703b93c75a97d349eb77d6c7 (patch) | |
tree | a8f700a32ff4bb980c0eab738c04c00ba07ab69c /crates/ra_mbe/src/mbe_expander | |
parent | ce69561be32421868e0f1ddb537f6f0a596d5610 (diff) | |
parent | 5ea83fee010a26e86e962cfb8270fd2a565277b3 (diff) |
Merge #3429
3429: Fix panic on eager expansion r=matklad a=edwin0cheng
When lazy expanding inside an eager macro, its *parent* file of that lazy macro call must be already exists such that a panic is occurred because that parent file is the eager macro we are processing.
This PR fix this bug by store the argument syntax node as another eager macro id for that purpose.
Personally I don't know if it is a good answer for this bug.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/mbe_expander')
0 files changed, 0 insertions, 0 deletions