Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix UnboundLocalError if guess_win_linker fails in detect_fortran_compiler #12803

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

h-vetinari
Copy link
Contributor

In #12305 I unfortunately introduced a bug - if guess_win_linker didn't produce a result, then the code would try to do if linker is None on a variable that hadn't been set yet. Set the value before so that the variable always exists.

@tristan957 tristan957 added this to the 1.4.0 milestone Feb 2, 2024
@dcbaker dcbaker merged commit 6fcf863 into mesonbuild:master Feb 2, 2024
34 checks passed
@h-vetinari h-vetinari deleted the flang_link branch February 2, 2024 17:27
@bruchar1 bruchar1 modified the milestones: 1.4.0, 1.3.2 Feb 2, 2024
@nirbheek nirbheek modified the milestones: 1.3.2, 1.3.3 Feb 6, 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.

5 participants