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-source-id: 20c8e9eeba1620b061e41119dfb1a0e15c36645e
Pull Request resolved: #30907
  • Loading branch information
mvitousek committed Sep 8, 2024
1 parent 99cba2b commit a8fc4b1
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 a8fc4b1

Please sign in to comment.