After this change a sythetic child provider can generate a special child
named "$$dereference$$" what if present is used when "operator*" or
"operator->" used on a ValueObject. The goal of the change is to make
expressions like "up->foo" work inside the "frame variable" command.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5083 Build 5083: arc lint + arc unit
Event Timeline
Comment Actions
The idea here seems fine, but why does StackFrame have to know the magic $$dereference$$? Why can't it call the Dereference on the synthetic value?
Comment Actions
Changed StackFrame to use Dereference instead of accessing the $$dereference$$ magic field.
Comment Actions
This seems great. The only remaining thing is to document this in the Synthetic Children section of the Variable Formatting page (www/varformats.html).
Comment Actions
One grammar comment in the docs, and then this is good.
www/varformats.html | ||
---|---|---|
1071 ↗ | (On Diff #93525) | grammar: "what will be" -> "which will be" Though I think it would be clearer to say: If a synthetic child provider supplies a special child named $$dereference$$ it will be... |