kazu-yamamoto/logger

Does not compile on Windows with latest version of win32

Closed this issue · 1 comments

I get the following error when trying to compile 2.4.6 and 2.4.7:
C:...\fast-logger-2.4.7\System\Log\FastLogger\FileIO.hs:25:26: error:
Ambiguous occurrence fILE_APPEND_DATA' It could refer to either System.Win32.File.fILE_APPEND_DATA',
imported from System.Win32.File' at System\Log\FastLogger\FileIO.hs:10:1-24 or System.Log.FastLogger.FileIO.fILE_APPEND_DATA',
defined at System\Log\FastLogger\FileIO.hs:18:1

It looks like this was added to Win32 in June:
haskell/win32@84b9663#diff-a99994770dbe04188c1176136aef3d32

Maybe delete the two lines:
https://github.com/kazu-yamamoto/logger/blob/fast-logger-2.4.6/fast-logger/System/Log/FastLogger/FileIO.hs#L17

Let's close this.