Skip to content

Only transform local variables for their values#7016

Merged
certik merged 1 commit intolfortran:mainfrom
certik:optional_arg_fix
Apr 15, 2025
Merged

Only transform local variables for their values#7016
certik merged 1 commit intolfortran:mainfrom
certik:optional_arg_fix

Conversation

@certik
Copy link
Contributor

@certik certik commented Apr 15, 2025

Previously we were transforming arguments also, and if they are intent(in), it becomes problematic. To solve optional arguments, we should assign their values at the call site, like LPython does.

Towards lcompilers/lpython#2851.

Previously we were transforming arguments also, and if they are intent(in), it
becomes problematic. To solve optional arguments, we should assign their values
at the call site, like LPython does.

Towards lcompilers/lpython#2851.
@certik certik merged commit 3916a0d into lfortran:main Apr 15, 2025
31 checks passed
@certik certik deleted the optional_arg_fix branch April 15, 2025 21:06
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.

1 participant