Re: A bug of linebuffering

2013-09-10 Thread 山本和彦
Hi, I found a workaround for this problem. https://github.com/sol/doctest-haskell/issues/57 --Kazu Hi, While I support GHC head for doctest, I encountered the following bug. doctest uses a GHCi subprocess to evaluate an expression represented in String. Stderr from GHCi is

A bug of linebuffering

2013-09-09 Thread 山本和彦
Hi, While I support GHC head for doctest, I encountered the following bug. doctest uses a GHCi subprocess to evaluate an expression represented in String. Stderr from GHCi is merged into stdout by hDuplicateTo in the GHCi side. Even evaluating an error expression, for instance 1 `div` 0, the