Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Move function translation code into a separate file.#1318

Merged
nevkontakte merged 1 commit intogopherjs:masterfrom
nevkontakte:gng6
Jun 30, 2024
Merged

Move function translation code into a separate file.#1318
nevkontakte merged 1 commit intogopherjs:masterfrom
nevkontakte:gng6

Conversation

@nevkontakte
Copy link
Member

The logic is already very complicated and breaking it up into more manageable methods will improve readability.

  • Broke out nestedFunctionContext() and translateStandaloneFunction()
  • Removed the need to return function param names from translateFunctionBody()

(based on commit 2e9a5ce)

The logic is already very complicated and breaking it up into more
manageable methods will improve readability.

 - Broke out nestedFunctionContext() and translateStandaloneFunction()
 - Removed the need to return function param names from
   translateFunctionBody()

(based on commit 2e9a5ce)
@nevkontakte nevkontakte requested a review from flimzy June 23, 2024 20:21
@nevkontakte nevkontakte enabled auto-merge June 23, 2024 20:21
@nevkontakte nevkontakte merged commit b1788a8 into gopherjs:master Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants