Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Fix rendering of symbol (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikearnaldi committed Aug 18, 2023
1 parent df5f41c commit 0f55e04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silver-stingrays-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/data": patch
---

Fix symbol rendering
2 changes: 1 addition & 1 deletion src/internal/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class ContextImpl<Services> implements C.Context<Services> {
}

const serviceNotFoundError = (tag: TagImpl<any, any>) => {
const error = new Error(`Service not found${tag.i0 ? `: ${tag.i0}` : ""}`)
const error = new Error(`Service not found${tag.i0 ? `: ${String(tag.i0)}` : ""}`)
if (tag.stack) {
const lines = tag.stack.split("\n")
if (lines.length > 2) {
Expand Down

0 comments on commit 0f55e04

Please sign in to comment.