Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize: Expr belonging to bndr: elT0938307 not found #629

Closed
TheZoq2 opened this issue Jun 7, 2019 · 3 comments
Closed

Normalize: Expr belonging to bndr: elT0938307 not found #629

TheZoq2 opened this issue Jun 7, 2019 · 3 comments
Labels

Comments

@TheZoq2
Copy link

TheZoq2 commented Jun 7, 2019

After adding a large chunk of code to my project, I started getting the following error:

Loading dependencies took 4.349083517s
Compiling: CompositeVideo.topEntity

<no location info>: error:
    Clash error call:
    Clash.Normalize(189): Expr belonging to bndr: elT098307 not found

The project in question is here: https://github.com/TheZoq2/OSD/tree/41c2e91b097e9234187791eacdef3f7da986773f

So far, i've traced it to https://github.com/TheZoq2/OSD/blob/41c2e91b097e9234187791eacdef3f7da986773f/clash/LineDrawer.hs#L191 which if replaced with a constant value, fixes the issue.

@TheZoq2
Copy link
Author

TheZoq2 commented Jun 7, 2019

Looks like I linked to the wrong line before, it should be 178, not 191.

It also turns out that the issue is caused by the use of the fold function, as replacing that with foldl1 fixes the issue

@christiaanb
Copy link
Member

It seems this bug is already fixed in master

@TheZoq2
Copy link
Author

TheZoq2 commented Jun 12, 2019

Great, since I managed to work around it as well, I guess I'll close this issue :)

@TheZoq2 TheZoq2 closed this as completed Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants