The IIFE responsible for initializing the global.Reflect object was not included in bundles created by deno bundle. Moving the IIFE declaration along with the non-exported declarations used in Reflect.ts outside the exported Reflect namespace declaration appears to fix this issue.
See issue #1
The IIFE responsible for initializing the global.Reflect object was not included in bundles created by
deno bundle
. Moving the IIFE declaration along with the non-exported declarations used inReflect.ts
outside the exported Reflect namespace declaration appears to fix this issue.