Subject: | Error: Expected async to be followed by sub |
On few of my smokers the test suite fails like this:
...
# Failed test 'use Device::Chip::AD9833;'
# at t/00use.t line 8.
# Tried to use 'Device::Chip::AD9833'.
# Error: Expected async to be followed by sub at /usr/home/cpansand/.cpan/build/2020103110/Device-Chip-AD9833-0.01-0/blib/lib/Device/Chip/AD9833.pm line 62.
# Compilation failed in require at t/00use.t line 8.
# BEGIN failed--compilation aborted at t/00use.t line 8.
# Looks like you failed 1 test of 1.
t/00use.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
Maybe this happens if Future::AsyncAwait is too old --- 0.41 and later seems OK, 0.33 is not.