Skip to content

Made compile with removed alias this in Nullable#480

Merged
pjotrp merged 1 commit intobiod:masterfrom
dukc:master
Sep 14, 2021
Merged

Made compile with removed alias this in Nullable#480
pjotrp merged 1 commit intobiod:masterfrom
dukc:master

Conversation

@dukc
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

Ping @pjotrp

@pjotrp
Copy link
Copy Markdown
Member

pjotrp commented Sep 14, 2021

Thank you, lgtm.

@pjotrp pjotrp merged commit 8a4102f into biod:master Sep 14, 2021
@dukc
Copy link
Copy Markdown
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