summaryrefslogtreecommitdiff
path: root/dhall/src/typecheck.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2019-04-12Capture `Span`s in the AST and thread them through Parsed and ResolvedNadrieril1-3/+3
2019-04-11Thread lifetimes through other newtypesNadrieril1-57/+78
2019-04-11Add lifetime parameters to Parsed and ResolvedNadrieril1-1/+1
2019-04-11Remove type parameter from TypeErrorNadrieril1-19/+18
2019-04-11Respect import boundariesNadrieril1-13/+18
2019-04-11Be more civilized when typecheck case unimplementedNadrieril1-2/+3
2019-04-11Improve simple type handling in typecheckNadrieril1-37/+34
2019-04-11Abstract get_type() into a traitNadrieril1-44/+10
2019-04-11Handle untyped case differently from the type of SortNadrieril1-70/+101
2019-04-11Remove premature #[inline(always)]Nadrieril1-18/+0
2019-04-10Simplify test harnessNadrieril1-4/+4
2019-04-10Allow providing type for typechecking in APINadrieril1-0/+5
2019-04-10Add SimpleType and SimpeStaticType. Derive the latterNadrieril1-3/+18
2019-04-08clippyNadrieril1-3/+2
2019-04-08Limit public APINadrieril1-7/+2
2019-04-08Rename spec testsNadrieril1-276/+276
2019-04-08Move spec tests into the relevant filesNadrieril1-0/+303
2019-04-07TweaksNadrieril1-1/+2
2019-04-07Restrict public APINadrieril1-3/+6
2019-04-07Use macros in typecheck; much cleanerNadrieril1-132/+125
2019-04-07Universe hierarchy is overkillNadrieril1-73/+59
2019-04-07More typecheckNadrieril1-66/+89
2019-04-07Avoid constructing exprs manually when possibleNadrieril1-18/+20
2019-04-07Store Normalized in type errorNadrieril1-46/+66
2019-04-07Augment stack size for typecheck testsNadrieril1-0/+12
2019-04-07Handle universe error properlyNadrieril1-35/+49
2019-04-07Put a Cow in TypeNadrieril1-70/+78
2019-04-07More typecheckNadrieril1-78/+86
2019-04-06More improvements to typecheckNadrieril1-133/+114
2019-04-06Store the whole type hierarchy in a TypeNadrieril1-101/+159
2019-04-06Add Sort type universeNadrieril1-3/+6
2019-04-06Start taking Typed seriouslyNadrieril1-106/+133
2019-04-06Thread Typed through type_withNadrieril1-41/+48
2019-04-06Factor out type equality checkingNadrieril1-46/+50
2019-04-06Move more cases after recursionNadrieril1-34/+34
2019-04-06Loop through args when typechecking AppNadrieril1-17/+24
2019-04-06Factor out the recursion when possible in typecheckNadrieril1-125/+131
2019-04-06Normalize only as needed while typecheckingNadrieril1-17/+17
2019-04-06type_with always normalizesNadrieril1-49/+35
2019-04-06Avoid early returns in type_withNadrieril1-41/+38
2019-04-06Normalize output of type inferenceNadrieril1-4/+4
2019-04-06Ensure all type errors carry normalized typesNadrieril1-7/+4
2019-04-06Remove an unnecessary normalizationNadrieril1-2/+1
2019-04-06Factor out shift/subst/shift danceNadrieril1-4/+1
2019-04-06Give up on laziness and greatly simplify normalizationNadrieril1-3/+3
2019-03-31Make Expr generic in LabelNadrieril1-1/+1
2019-03-31Move recursion out of ExprNadrieril1-3/+3
2019-03-31Make SubExpr a newtypeNadrieril1-55/+48
2019-03-24Correctly namespace interpolations in dhall_expr!()Nadrieril1-2/+0
2019-03-21Represent Optional literals more faithfullyNadrieril1-20/+8