[Bug translator/30570] New: Type inference for elided try-catch block has unresolved error variable type

rgoldber at redhat dot com sourceware-bugzilla@sourceware.org
Tue Jun 20 19:05:18 GMT 2023


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.


More information about the Systemtap mailing list