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-05-04 19:19 -------
(In reply to comment #3)
> The typeresolution_info::mismatch routine, basing matches on the
> token->content fields, seems too naive, and leads to junky stuff like:
> The core issue is that it is not tokens that get types, but expression objects.

Should I add an exp_type to tokens? It wouldn't be used very often.
Alternatively, we could keep an array of resolved expression objects and use
that to check for mismatches?

-- 


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]