unit-threaded v1.0.0
Atila Neves
atila.neves at gmail.com
Tue Jun 2 11:37:44 UTC 2020
On Monday, 1 June 2020 at 09:03:20 UTC, ag0aep6g wrote:
> On 01.06.20 10:49, Atila Neves wrote:
>> That got fixed a few weeks back - your code doesn't compile
>> for me.
>
> Huh. Maybe you forgot to commit that? I'm just running this
> through `dub --single test.d`:
>
> ----
> /+ dub.json:
> {
> "dependencies": {
> "unit-threaded": "~>1.0.0",
> },
> }
> +/
> import unit_threaded.light: check;
> void main() @safe
> {
> check!((int a) @system {
> /* ... can do unsafe stuff here ... */
> return true;
> });
> }
> ----
>
> https://run.dlang.io/is/NbiYBB
I missed that you imported `unit_threaded.light`. Thanks for
reporting! That whole module needs to be redone.
More information about the Digitalmars-d-announce
mailing list