Yuriy Pitomets

Results 107 comments of Yuriy Pitomets

Looks like it fails because `test -t 1` fails (device is NOT a TTY). So is there a way to force Alcotest use colors here?

To test, try to `dune runtest | less -r` (almost same result).

@hannesm so try ` dune --no-buffer runtest | less -r`

Yeah, great success! I found a workaround: ```shell TERM=linux unbuffer dune --no-buffer runtest | less -r ``` (the `unbuffer` from the `expect` package) BUT it still would be convenient to...

At least because `unbuffer` is half-ass solution (it broke emoji in output for example).

> a way to pass this in `dune runtest` Exactly.

And there's still line duplication in CI, not sure, what can cause it, can't reproduce locally: ![Screenshot from 2019-04-18 19-28-21](https://user-images.githubusercontent.com/2434691/56376339-3f268a80-6210-11e9-88f6-39de5e4ce788.png)

Maybe, use some macros to avoid prefix notation?

So something like ```objc [signal map:^OutputType(InputType obj) { ... }] ``` should be expanded by macro to something like ```objc [ ({ Mapper *mapper = Mapper.new; }) map: signal withBlock:...

However, it may broke `-map:` autocompletion, but compiler will check return value to match proper generic.