From: "fche at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/9719] New: improve type mismatch messages
Date: Wed, 07 Jan 2009 22:14:00 -0000 [thread overview]
Message-ID: <20090107221353.9719.fche@redhat.com> (raw)
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.
next reply other threads:[~2009-01-07 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 22:14 fche at redhat dot com [this message]
2009-02-04 20:18 ` [Bug translator/9719] " rarora at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090107221353.9719.fche@redhat.com \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).