snabbkaffe
snabbkaffe copied to clipboard
OTP-27 incompatibility
Hello! This project is not compatible with OTP-27.0-rc2 (and likely the upcoming full release). The problem comes from the use of maybe which has become a keyword.
src/snabbkaffe.erl:104:16: syntax error before: '::'
% 104| -type maybe(A) :: {just, A} | nothing.
% | ^
src/snabbkaffe.erl:126:35: syntax error before: '/'
% 126| , maybe_pair/0, maybe/1, metric/0, run_config/0, predicate/0
% | ^
- https://github.com/kafka4beam/snabbkaffe/blob/master/src/snabbkaffe.erl#L104
- https://github.com/kafka4beam/snabbkaffe/blob/master/src/snabbkaffe.erl#L126
A quick fix could be to just put quotes around the word 'maybe'.