Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Trivial: Fix compilation with -preview=in #3593

Merged
merged 1 commit into from Oct 19, 2021

Conversation

Geod24
Copy link
Member

@Geod24 Geod24 commented Oct 19, 2021

Because '-preview=in' does not have covariance between 'in' and 'const',
it results in an error as the sink passed to 'Throwable.toString' should
take its parameter by 'in'.

Because '-preview=in' does not have covariance between 'in' and 'const',
it results in an error as the sink passed to 'Throwable.toString' should
take its parameter by 'in'.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @Geod24!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#3593"

@dlang-bot dlang-bot merged commit d42bad3 into dlang:master Oct 19, 2021
@Geod24 Geod24 deleted the fix-preview=in branch October 20, 2021 01:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants