This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11504] Wrong location for inferred type conflict in error message
- From: "chwang at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 May 2010 19:16:02 -0000
- Subject: [Bug translator/11504] Wrong location for inferred type conflict in error message
- References: <20100416105207.11504.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From chwang at redhat dot com 2010-05-14 19:16 -------
Created an attachment (id=4793)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4793&action=view)
Patch for 11504
Attempt #2. Very minor hack to keep an exp_type* vector that's updated whenever
the tokens vector is updated. This appears to fix the problem, though I don't
know if it is efficient enough.
Attempt #1 (not attached) was passing expression to
typeresolution_info::resolved, which failed because I couldn't get an
expression* from the Referrer/Referent templates in
elaborate.cxx:resolve_2types.
I will try getting the exp_type from symbol* as well, if this patch is not
acceptable.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11504
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.