Skip to content

fix(print): a printed stack frame names the declaring type, not StackFrame - #40

Merged
skydread1 merged 1 commit into
maint-1.11.xfrom
fix/stack-frame-declaring-type
Sep 2, 2026
Merged

fix(print): a printed stack frame names the declaring type, not StackFrame#40
skydread1 merged 1 commit into
maint-1.11.xfrom
fix/stack-frame-declaring-type

Conversation

@skydread1

Copy link
Copy Markdown
Member

Closes #39

  • print-method and StackTraceElement->vec read the declaring type of the frame's method through a new stack-frame-info. Both took (.FullName (.GetType o)), which is always System.Diagnostics.StackFrame, so no frame of any #error trace, :at or :trace entry named the code that ran. Backport of CLJCLR-162 (fffa5e35).
  • A frame whose method reports no declaring type prints <Unknown type> instead of throwing NullReferenceException. Backport of CLJCLR-183 (30047284).

…Frame

Backport of CLJCLR-162 (fffa5e3) and CLJCLR-183 (3004728), taken
unchanged.

Closes #39
@skydread1 skydread1 self-assigned this Sep 2, 2026
@skydread1
skydread1 merged commit a002e0b into maint-1.11.x Sep 2, 2026
3 checks passed
@skydread1
skydread1 deleted the fix/stack-frame-declaring-type branch September 3, 2026 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Printing a stack frame names System.Diagnostics.StackFrame instead of the declaring type

1 participant