public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/30570] New: Type inference for elided try-catch block has unresolved error variable type
@ 2023-06-20 19:05 rgoldber at redhat dot com
  2023-06-29 13:22 ` [Bug translator/30570] " rgoldber at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: rgoldber at redhat dot com @ 2023-06-20 19:05 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 30570
           Summary: Type inference for elided try-catch block has
                    unresolved error variable type
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: rgoldber at redhat dot com
  Target Milestone: ---

$ stap -p2 -e 'probe oneshot{try { } catch (e) { printf("%d", e) } }'
semantic error: unresolved type : identifier 'e' at <input>:1:30
        source: probe oneshot{try { } catch (e) { printf("%d", e) } }
                                             ^
Pass 2: analysis failed.  [man error::pass2]

The type of e is unknown, but it should be resolved as a string

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/30570] Type inference for elided try-catch block has unresolved error variable type
  2023-06-20 19:05 [Bug translator/30570] New: Type inference for elided try-catch block has unresolved error variable type rgoldber at redhat dot com
@ 2023-06-29 13:22 ` rgoldber at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: rgoldber at redhat dot com @ 2023-06-29 13:22 UTC (permalink / raw)
  To: systemtap

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

Ryan Goldberg <rgoldber at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Ryan Goldberg <rgoldber at redhat dot com> ---
Closed with commit 434c4f0c3

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-29 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-20 19:05 [Bug translator/30570] New: Type inference for elided try-catch block has unresolved error variable type rgoldber at redhat dot com
2023-06-29 13:22 ` [Bug translator/30570] " rgoldber at redhat dot com

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).