This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/9719] New: improve type mismatch messages


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]