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 avoid late keyword as much as possible #357

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

sunboyy
Copy link
Contributor

@sunboyy sunboyy commented Jun 20, 2024

late keyword is dangerous and can lead to runtime error. This PR tries to reduce the use of late keyword as much as possible to make all null checks at compile time.

@FauconSpartiate
Copy link
Contributor

@sunboyy Tests are failing

@sunboyy
Copy link
Contributor Author

sunboyy commented Jun 20, 2024

Oops! Sorry. Fixed it now

@FauconSpartiate FauconSpartiate merged commit e718e46 into justkawal:main Jun 20, 2024
1 check passed
@sunboyy sunboyy deleted the refactor-avoid-late branch June 24, 2024 03:56
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