sociomantic-tsunami / ocean

General purpose, platform-dependent, high-performance library for D
Other
61 stars 56 forks source link

Explicitly discard `SmartUnion` in unittest #852

Closed dkorpel closed 2 years ago

dkorpel commented 2 years ago

Buildkite fails on this dmd PR: https://github.com/dlang/dmd/pull/12890

./submodules/ocean/src/ocean/core/SmartUnion.d(549): Warning: calling `ocean.core.SmartUnion.SmartUnion!(HasDuplicates).SmartUnion.opCall` without side effects discards return value of type `SmartUnion!(HasDuplicates)`; prepend a `cast(void)` if intentional
codecov[bot] commented 2 years ago

Codecov Report

Merging #852 (2078380) into v6.x.x (adb31c8) will decrease coverage by 0.00%. The diff coverage is 100.00%.

dkorpel commented 2 years ago

Can someone please merge this?

dkorpel commented 2 years ago

@Geod24 Can you release a new version? buildkite is checking out 'tag: v6.1.0' which doesn't have this fix, so it's still red.