File tree Expand file tree Collapse file tree 6 files changed +1741
-0
lines changed
should-fail-tests/incorrect-var-type Expand file tree Collapse file tree 6 files changed +1741
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments