This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/11504] Wrong location for inferred type conflict in error message


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]