This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16097] improve error message on array type mismatch
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 06 Nov 2013 18:48:40 +0000
- Subject: [Bug translator/16097] improve error message on array type mismatch
- Auto-submitted: auto-generated
- References: <bug-16097-6586 at http dot sourceware dot org/bugzilla/>
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.