From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6B6A3858D28; Tue, 20 Jun 2023 19:05:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6B6A3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1687287918; bh=Pbepek+lQyfnuPJpblrf1PX+gZ7TMt18DlP/dyyr9b4=; h=From:To:Subject:Date:From; b=FgqH4+a1qorsn/S7dt//TEhqPJeqoyuzMsCvjjidgwOL6pZx6IKwiwGfGoKU1FTSW jsNGBhbSxA1ponHzN4AE/g+7Yz5ws069G11ng4vM4HHzUBFh7RCx1837R15CgE70Fp dY5IcG8enA5XEQ4U16qFwXaiVIJZ23AlYL2x0CsA= From: "rgoldber at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/30570] New: Type inference for elided try-catch block has unresolved error variable type Date: Tue, 20 Jun 2023 19:05:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rgoldber at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30570 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 :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 --=20 You are receiving this mail because: You are the assignee for the bug.=