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

Equality of compound types is broken #4

Open
duairc opened this issue Dec 4, 2015 · 1 comment
Open

Equality of compound types is broken #4

duairc opened this issue Dec 4, 2015 · 1 comment

Comments

@duairc
Copy link

duairc commented Dec 4, 2015

This can't be right:

> :m + Database.DSH Database.DSH.Backend.Sql
> let a = (1 :: Integer, 2 :: Integer, 3 :: Integer) in showSqlQ (toQ a Database.DSH.== toQ a)
--------------------------------------------------------------------------------
SELECT (1 = 2) AS i1
FROM ( VALUES (1, 1, 1, 2, 3)
     ) AS a0(r1, k1, i1, i2, i3);
--------------------------------------------------------------------------------
@ulricha
Copy link
Owner

ulricha commented Dec 4, 2015

Indeed, that doesn't look good. Thanks for the report, I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants