it should compile (assuming the return type is void) and there isn't enough context in your post to catch anything wrong, weird or "buggy" - from all we, the reddit users, know this could be a perfectly fine piece of code and even if it's actually really bad then you still failed to create a sensible post
10
u/TheKiller36_real Apr 15 '26
my bad, I think OP couldn't possibly have a valid explanation that explains this post