Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Non-exhaustive patterns #1

Open
snoyberg opened this Issue · 1 comment

2 participants

@snoyberg
yesod: src\System\Win32\Notify.hs:(136,1)-(146,45): Non-exhaustive patterns in function actsToEvent
@jakobz

The issue is triggered when there are multiple events occurs at once. There is no patterns to handle this case.

I found a blog post desribing the ReadDirectoryChangesW API :
http://qualapps.blogspot.ru/2010/05/understanding-readdirectorychangesw_19.html

Due to difficulties described there, I believe that the events handling code should be changed to just past all recieved events to a handler as is.

Rename events (FileRenamedOld and FileRenamedNew) are coming in separate batches at my box, so rename detection logic looks broken too. As for me, this logic can be dropped for now, as the primary use of the lib is to detect any changes.

@snoyberg snoyberg referenced this issue in yesodweb/yesod
Closed

Yesod Install #461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.