From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25355 invoked by alias); 7 Jan 2009 22:14:03 -0000 Received: (qmail 25341 invoked by uid 48); 7 Jan 2009 22:13:54 -0000 Date: Wed, 07 Jan 2009 22:14:00 -0000 From: "fche at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20090107221353.9719.fche@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/9719] New: improve type mismatch messages X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00058.txt.bz2 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.