annotate tests/selclause.ur @ 2044:42ae25a354f8
Retweak the last tweak to allow type inference to succeed in a strict superset of the places where it used to succeed
author |
Adam Chlipala <adam@chlipala.net> |
date |
Tue, 29 Jul 2014 14:46:06 -0400 |
parents |
5c1f10cdac63 |
children |
|
rev |
line source |
adam@1627
|
1 table t : { A : int, B : string, C : float }
|
adam@1627
|
2 table u : { D : int, E : string, F : float }
|
adam@1627
|
3
|
adam@1627
|
4 val q : transaction (list {T : { A : int, B : string, C : float}, U : { D : int }, X : string }) =
|
adam@1627
|
5 queryL (SELECT t.*, u.D, 'hi' AS X
|
adam@1627
|
6 FROM t, u)
|