Skip to content

Fix typdef generation of default param func#1551

Merged
TwitchBronBron merged 1 commit intomasterfrom
fix-typedef-default-param-func-transpile
Aug 12, 2025
Merged

Fix typdef generation of default param func#1551
TwitchBronBron merged 1 commit intomasterfrom
fix-typedef-default-param-func-transpile

Conversation

@TwitchBronBron
Copy link
Member

Fixes a bug in the typdef generator that was incorrectly transpiling default parameter function parameter references.

Old:

function charlie(fn = alpha.beta) => function charlie(fn = alpha_beta)

New (correct):

function charlie(fn = alpha.beta) => function charlie(fn = alpha.beta)

@TwitchBronBron TwitchBronBron merged commit 8d6a4db into master Aug 12, 2025
5 checks passed
@TwitchBronBron TwitchBronBron deleted the fix-typedef-default-param-func-transpile branch August 12, 2025 19:17
@TwitchBronBron TwitchBronBron added the create-package create a temporary npm package on every commit label Sep 10, 2025
@rokucommunity-bot
Copy link
Contributor

Hey there! I just built a new temporary npm package based on 2c6174d. You can download it here or install it by running the following command:

npm install https://github.com/rokucommunity/brighterscript/releases/download/v0.0.0-packages/brighterscript-0.70.0-fix-typedef-default-param-func-transpile.20250910160353.tgz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-package create a temporary npm package on every commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant