From 53f6951d81d7486a3f4d50fcf534f2592a04e679 Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Thu, 24 Jul 2025 06:21:10 -0700 Subject: [PATCH] Add `bytesType` to pkl:reflect (#1144) Just like other data types on the base module, the mirror for `Bytes` should be available directly on `pkl:reflect`. --- stdlib/reflect.pkl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/reflect.pkl b/stdlib/reflect.pkl index ad2cc7af..0f4f949f 100644 --- a/stdlib/reflect.pkl +++ b/stdlib/reflect.pkl @@ -100,6 +100,10 @@ const listingType: DeclaredType = DeclaredType(Class(Listing)) /// A mirror for the `Mapping` type. const mappingType: DeclaredType = DeclaredType(Class(Mapping)) +/// A mirror for the `Bytes` type. +@Since { version = "0.29.0" } +const bytesType: DeclaredType = DeclaredType(Class(Bytes)) + /// A mirror for the `module` type. external const moduleType: ModuleType