Skip to content

Commit dc89e99

Browse files
zahclaude
andcommitted
fix: add Char variant to value_type_id match
The codetracer_trace_types 0.16.3 added a Char variant to ValueRecord. The value_type_id match was missing this variant, causing a non-exhaustive pattern error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bba59ab commit dc89e99

File tree

1 file changed

+1
-0
lines changed
  • gems/codetracer-ruby-recorder/ext/native_tracer/src

1 file changed

+1
-0
lines changed

gems/codetracer-ruby-recorder/ext/native_tracer/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ fn value_type_id(val: &ValueRecord) -> TypeId {
137137
| Raw { type_id, .. }
138138
| Error { type_id, .. }
139139
| BigInt { type_id, .. }
140+
| Char { type_id, .. }
140141
| None { type_id } => *type_id,
141142
Cell { .. } => NONE_TYPE_ID,
142143
}

0 commit comments

Comments
 (0)