-
Notifications
You must be signed in to change notification settings - Fork 118
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
refactor: rename vars and params to prevent module name shadowing #122
Conversation
@@ -94,7 +94,7 @@ pub fn kmain() { | |||
serial.early_initialise() | |||
|
|||
// We're alive | |||
kprint.kprint(c'Welcome to Vinix\n\n') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming of this one is in question tho.
@@ -29,7 +29,7 @@ pub fn syscall_kprint(_ voidptr, message charptr) { | |||
} | |||
} | |||
|
|||
pub fn kprint(message charptr) { | |||
pub fn kwrite(message charptr) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed kprint
to kwrite
to not shadow the module name.
Other renames are just variables.
@medvednikov regarding the |
No issues with compiling util-vinix since vlang/v@e3b0dfb 🎉 |
Great job! |
Ensures the kernel keeps compiling, related to: vlang/v#18118