gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

NR2: ICE in late name resolver

Open P-E-P opened this issue 9 months ago • 2 comments

ICE in rust/resolve/rust-late-name-resolver-2.0.cc:303, code hitting an assert about opening scope resolution.

  • [ ] canonical_paths1.rs
  • [x] derive-hash1.rs
  • [x] derive-debug1.rs
  • [ ] derive-eq-invalid.rs
  • [ ] derive-default1.rs
  • [x] issue-3402-1.rs
  • [x] issue-3403.rs

P-E-P avatar Mar 05 '25 18:03 P-E-P

derive-default & derive-eq-invalid : similar to https://github.com/Rust-GCC/gccrs/pull/3766, we're duplicating a node but keeping it's node id. This means there are two different usages with one node id.

P-E-P avatar Apr 25 '25 16:04 P-E-P

I think I have a fix for some of these in my dev branch

Edit: nope, but I'll have some fixes out in a bit

powerboat9 avatar Apr 25 '25 17:04 powerboat9