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: 16 Apr 2010 16:43:55 -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-04-16 16:43 -------
fwiw, it looks like typeresolutioninfo::mismatched in elaborate.cxx searches
resolved_toks for the first matching definition. The error should have been
thrown when parsing the second instance of size in the given script, but it
seems to have gotten thrown off because 'size' is not a locally declared global.
Instead of comparing (string) size to (global double) size it does the reverse.
I'll look for a way to unreverse it without breaking anything else.
Checking types might be a safe way to resolve this problem, but resolved_toks
don't have an exp_type to compare to.
-C
--
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.