aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-04-30 12:07:52 +0100
committerPhilip Herron <philip.herron@embecosm.com>2021-04-30 15:50:16 +0100
commitfeaafdfecf4aa0575768deaa837323c3d86f678f (patch)
tree17a411358cdcfc8d6a0ff62655a76b82c0764ce5 /gcc/rust/backend
parent0276ec39a9c3b839c47ce28838a8d5af25fbf598 (diff)
downloadgcc-feaafdfecf4aa0575768deaa837323c3d86f678f.zip
gcc-feaafdfecf4aa0575768deaa837323c3d86f678f.tar.gz
gcc-feaafdfecf4aa0575768deaa837323c3d86f678f.tar.bz2
Apply defaults if available to type substitutions
When we get defaults specified to Type parameters we must resolve the type before insert the name into the name scope otherwise we can end up with forward declared type parameters being resolved. When we need to apply defaults during substitution we must check if they themseleves need substitutions also with the mappings we have generated so far. Fixes #307
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions