Skip to content

Commit 48ee2d4

Browse files
committed
adds tests
1 parent cef760a commit 48ee2d4

File tree

6 files changed

+1741
-0
lines changed

6 files changed

+1741
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/bower_components/
2+
/node_modules/
3+
/.pulp-cache/
4+
/output/
5+
/generated-docs/
6+
/.psc-package/
7+
/.psc*
8+
/.purs*
9+
/.psa*
10+
/.spago
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[ERROR 1/1 TypesDoNotUnify] src/Main.purs:44:8
2+
3+
44 test = getVarsTypeNames testSchemaProxy query
4+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5+
6+
Could not match type
7+
Boolean
8+
with type
9+
String
10+
while matching label online
11+
while trying to match type
12+
( online :: Boolean
13+
...
14+
)
15+
with type
16+
( online :: String
17+
...
18+
)
19+
while solving type class constraint
20+
Heterogeneous.Folding.FoldlRecord (ConstFolding GetVarRec)
21+
t0
22+
(Nil @Type)
23+
( users :: Args
24+
{ online :: Var "online" Boolean
25+
}
26+
{ id :: Unit
27+
}
28+
)
29+
(Proxy @Type
30+
{ online :: String
31+
}
32+
)
33+
while inferring the type of getVarsTypeNames testSchemaProxy
34+
in value declaration test
35+
where t0 is an unknown type
36+
37+
Src Lib All
38+
Warnings 0 0 0
39+
Errors 1 0 1

0 commit comments

Comments
 (0)