Skip to content
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

Merged
merged 2 commits into from
Aug 12, 2023
Merged

refactor: rename vars and params to prevent module name shadowing #122

merged 2 commits into from
Aug 12, 2023

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented May 23, 2023

Ensures the kernel keeps compiling, related to: vlang/v#18118

@@ -94,7 +94,7 @@ pub fn kmain() {
serial.early_initialise()

// We're alive
kprint.kprint(c'Welcome to Vinix\n\n')
Copy link
Member Author

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) {
Copy link
Member Author

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 medvednikov reopened this Jul 23, 2023
@ttytm
Copy link
Member Author

ttytm commented Jul 24, 2023

@medvednikov regarding the util-vinix CI: Should it be disabled for the time being?
It looks that with the conflicts with the stdlib it's just 6 hour runs not really leading anywhere. Same result tested locally, but with v version 0.3.3 they are done fairly quick.

@ttytm
Copy link
Member Author

ttytm commented Aug 11, 2023

No issues with compiling util-vinix since vlang/v@e3b0dfb 🎉

@medvednikov
Copy link
Member

Great job!

@medvednikov medvednikov merged commit b3521cf into vlang:main Aug 12, 2023
1 check passed
@ttytm ttytm deleted the rename-vars-params branch August 12, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants