-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
AK: Add an OptionalBase helper, and allow specializing Optional with dedicated empty values #25894
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
Open
Hendiadyoin1
wants to merge
9
commits into
SerenityOS:master
Choose a base branch
from
Hendiadyoin1:OptionalBase
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+440
−165
Open
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
8e0f96d
Meta: Fix some shellcheck issues
Hendiadyoin1 44e5fe0
CI: Bump Ubuntu runner to 24.04
Hendiadyoin1 514608c
Meta+CI: Bump minimum compiler versions to support deducing-this
Hendiadyoin1 c710e48
AK: Make Badge constexpr movable
Hendiadyoin1 3433411
AK: Add an OptionalBase helper to ease specializing Optional<T>
Hendiadyoin1 a78bea6
AK: Move some Traits<T> specializations up
Hendiadyoin1 8440270
AK: Add an Optional overload for values with special empty values
Hendiadyoin1 1ef47fe
AK: Use the Optional special case for nonnull smart pointers
Hendiadyoin1 4d8dcfe
AK: Use a null value for Optional<(Fly)String>s empty value
Hendiadyoin1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC these don't fail in CI, but only in the pre-commit check, because we only pass the changed scripts to
shellcheck
, which doesn't includeshell_include.sh
.So most (if not all)
# shellcheck source=/dev/null
we already have in master might be unnecessary.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it failed CI without the one in this exact file you point out....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird, I have no idea why it fails here then.
I'm 99% sure that the
build-image-raspberry-pi.sh
one only failed in the pre-commit hook.