* [Bug translator/9719] New: improve type mismatch messages
@ 2009-01-07 22:14 fche at redhat dot com
2009-02-04 20:18 ` [Bug translator/9719] " rarora at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2009-01-07 22:14 UTC (permalink / raw)
To: systemtap
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-04 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-07 22:14 [Bug translator/9719] New: improve type mismatch messages fche at redhat dot com
2009-02-04 20:18 ` [Bug translator/9719] " rarora at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).