Skip to content

Commit

Permalink
[compiler][playground] Fix displayed naming of outlined functions
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
mvitousek committed Sep 7, 2024
1 parent 727b361 commit 8336464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/apps/playground/components/Editor/EditorImpl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function compile(source: string): [CompilerOutput, 'flow' | 'typescript'] {
name: result.name,
value: {
type: 'FunctionDeclaration',
id,
id: withIdentifier(result.value.id),
async: result.value.async,
generator: result.value.generator,
body: result.value.body,
Expand Down

0 comments on commit 8336464

Please sign in to comment.