Skip to content

error in test #12

Description

@o3o

I use your modbus lib in my project, but when I test it:

> dub test -q                                                                                          master ⬆ ◼
../../../.dub/packages/serialport-2.2.3/serialport/source/serialport/util.d(59,6): Error: typesafe variadic function parameter `list` of type `Pair!(int, int)[]` cannot be marked `return`
/usr/bin/dmd failed with exit code 1.
> dmd --version                                                                                    ✘ 2 master ⬆ ◼
DMD64 D Compiler v2.100.0

but if I test your source:

> cd ~/d/serialport/                                                                                   master ⬆ ◼
> git describe                                                                                             master
v2.2.3
> dub test -q                                                                                              master
=== start real test ===
...
> cd ~/d/serialport/                                                                                   master ⬆ ◼
[I] [10:13:50] o3o@forty /home/o3o/d/serialport
> git describe                                                                                             master
v2.2.3
[I] [10:13:57] o3o@forty /home/o3o/d/serialport
> dub test -q                                                                                              master
=== start real test ===
...
<<< success fiber sleep func test
=== finish real test ===
4 modules passed unittests

odd...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions