This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/9719] New: improve type mismatch messages
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 7 Jan 2009 22:13:54 -0000
- Subject: [Bug translator/9719] New: improve type mismatch messages
- Reply-to: sourceware-bugzilla at sourceware dot org
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.