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

Made compile with removed alias this in Nullable #480

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Conversation

dukc
Copy link
Contributor

@dukc dukc commented Aug 30, 2021

Motivation: I want to update LDC in Nix package repository.

The alias this of std.typecons.Nullable has been removed and now explicit .gets are required.

// The existing comment here says "null", but function return type
// forces reading the value anyway. Bug?
// -Nix packager
return consumed_reference_bases2.get; // null
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also spotted a potential bug while doing this and left a comment accordingly

@PetarKirov
Copy link

Ping @pjotrp

@pjotrp
Copy link
Member

pjotrp commented Sep 14, 2021

Thank you, lgtm.

@pjotrp pjotrp merged commit 8a4102f into biod:master Sep 14, 2021
@dukc
Copy link
Contributor Author

dukc commented Sep 14, 2021

@PetarKirov Huh? How did you end up here 😀?

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.

3 participants