hsutter / cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler
Other
5.23k stars 224 forks source link

Fix shadowing issue in sema.h #1127

Closed jarzec closed 1 week ago

jarzec commented 1 week ago

Fixes an issue causing the multiplatform build test to fail on Windows runners on GitHub. The MSVC compiler generates a warning about a local variable shadowing a member. The warning is treated as an error in accordance with the test settings.

The Windows regression test is fixed by #1127.

hsutter commented 1 week ago

Thanks! Now I see that message in my local build, I must have forgotten to locally test self-build before checking that in. Thanks for the catch.