-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
"Bug" Report: Small harmless typos I found randomly #4083
Comments
These are not syntax errors. The game wouldn't compile if they were. |
What do you mean by syntax errors? Are the semicolons not necessary? |
https://en.wikipedia.org/wiki/Syntax_error It's only a syntax error when it'd result in the code not being able to compile. These are all harmless typos. |
I know what a syntax error is. I just don't think these are syntax errors for the reason AbnormalPoof stated. |
As a non-coder, I still don't understand how these are typos. Don't lines of code usually end with semicolons? |
So, normally conditions and functions don't have ; at the end, I think haxe doesn't take those in consideration when compiling (not sure, + could be the same with the public statement in methods but wont complain in the fnf code tho it would remove some size from the src) |
Thanks for clarifying! |
Sorry for this but how do I create a PR with these fixes 🤔 |
You should create your own fork of Funkin, edit the semicolons and import out of the file, commit the changes, then click on the "Create/open pull request" button that appears on the pull requests page. |
Alright thanks I opened a PR #4092 and will update if I found anything else through the files 👍 |
Issue Checklist
Platform
Windows
Version
0.5.3
Description (include any images, videos, errors, or crash logs)
Not a bug but I found some syntax errors:
;
's at the end of functions/conditionsFunkin/source/funkin/play/PlayState.hx
Line 1141 in df142a9
Funkin/source/funkin/play/PlayState.hx
Line 1531 in df142a9
Funkin/source/funkin/ui/freeplay/FreeplayState.hx
Line 2448 in df142a9
Funkin/source/funkin/ui/charSelect/CharSelectPlayer.hx
Line 52 in df142a9
Funkin/source/funkin/ui/charSelect/CharSelectPlayer.hx
Lines 83 to 89 in df142a9
Funkin/source/funkin/ui/charSelect/CharSelectGF.hx
Line 92 in df142a9
Funkin/source/funkin/ui/charSelect/CharSelectGF.hx
Lines 208 to 214 in df142a9
Funkin/source/funkin/play/song/Song.hx
Lines 634 to 674 in df142a9
Duplicate Imports:
FunkinSound:
Funkin/source/funkin/ui/options/OptionsState.hx
Lines 10 to 15 in df142a9
,
at the end of a list/array etcFunkin/source/funkin/play/PlayState.hx
Line 2703 in df142a9
The text was updated successfully, but these errors were encountered: