-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Build error - undeclared varaible #21827
Comments
If you compile with do_log(mut logr, this) |
Yes, but logr is not undeclared - its a captured variable
So the compiler has got in a muddle
…On Mon, 8 Jul 2024 at 16:57, JalonSolov ***@***.***> wrote:
If you compile with -g, you see the problem is on this line in the bang()
function:
do_log(mut logr, this)
—
Reply to this email directly, view it on GitHub
<#21827 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEEESABHVUHZHDBDOW6U4Y3ZLKZG5AVCNFSM6AAAAABKRCNUB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUGUZDKMRWGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes. My comment was meant as confirmation (that I see the same problem), and something to help whoever tries to fix the problem. |
Wow! Great timely response as usual. |
It should have, if |
When I do this:
It says I'm up to date, but when I run the test programs I get this:
|
Describe the bug
Attempt to compile this:
Reproduction Steps
Attempt to compile the code above.
Results in a build error of:
Expected Behavior
It should compile and print "bang!"
Current Behavior
Generates a build error
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.6 66ea826
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: