[Bug translator/16097] improve error message on array type mismatch

jlebon at redhat dot com sourceware-bugzilla@sourceware.org
Wed Nov 6 18:50:00 GMT 2013


https://sourceware.org/bugzilla/show_bug.cgi?id=16097

--- Comment #6 from Jonathan Lebon <jlebon at redhat dot com> ---
Sorry here's the proper output for the example in comment 5:

Without patch 2:

semantic error: type mismatch (long vs. string): identifier 'mylocal' at
<input>:7:1
        source: mylocal = 1
                ^

semantic error: type was first inferred here (string): identifier 'mylocal' at
:7:1
        source: mylocal = 1
                ^

With patch 2:

semantic error: type mismatch (long vs. string): identifier 'mylocal' at
<input>:8:1
        source: mylocal = func()
                ^

semantic error: type was first inferred here (string): identifier 'mylocal' at
:7:1
        source: mylocal = 1
                ^

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list