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

Comparing a string reference with null #25

Open
Victorious3 opened this issue Jun 12, 2023 · 0 comments
Open

Comparing a string reference with null #25

Victorious3 opened this issue Jun 12, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Victorious3
Copy link
Contributor

var s: &string
assert s == null

This somehow tries to convert s to a string slice, which promptly fails because the string is null.

@Victorious3 Victorious3 added the bug Something isn't working label Jun 12, 2023
@Victorious3 Victorious3 added this to the 0.4 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant