[Bug translator/9719] New: improve type mismatch messages
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jan 7 22:14:00 GMT 2009
During type inference/resolution during pass 2, a type mismatch
results in a message like
semantic error: probe_1393 with type mismatch (long vs. string): identifier
'pid' at :30:3
which identifies only one site of the type mismatch (:30:3) but not the other.
The typeresolution_info::mismatch / ::resolved could be changed to track the
first resolution site (token) for a given expression tree, and then indicate
in the semantic error both the old and new tokens.
--
Summary: improve type mismatch messages
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9719
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list