Commit graph

5951 commits

Author SHA1 Message Date
Leonardo de Moura
97664de3ee fix: diamonds with dependent fields 2021-08-09 19:01:08 -07:00
Leonardo de Moura
e8403f89b0 fix: ensure field names are atomic 2021-08-09 19:01:08 -07:00
Leonardo de Moura
a0bd964255 test: overriding default value of private field 2021-08-09 19:01:08 -07:00
Leonardo de Moura
3f3e5d9dcb fix: private field + default value bug 2021-08-09 19:01:08 -07:00
Leonardo de Moura
fdce7a99e1 feat: structure diamonds basic support
See TODO in the new comments.
2021-08-09 19:01:08 -07:00
Daniel Selsam
0118c47117 refactor: separate pp.funBinderTypes and pp.piBinderTypes 2021-08-09 16:13:40 +02:00
Leonardo de Moura
1d9d8c7e75 chore: fix tests
close #402
2021-08-07 13:22:58 -07:00
Leonardo de Moura
a863f1b8a3 fix: fixes #616 2021-08-07 07:29:54 -07:00
Leonardo de Moura
8a84532760 feat: add PEmpty
closes #537
2021-08-06 19:18:22 -07:00
Leonardo de Moura
6e2b7189e8 fix: fixes #242 2021-08-06 18:39:55 -07:00
Leonardo de Moura
d482212a1c feat: add Meta.abstract
closes #474
2021-08-06 18:19:06 -07:00
Leonardo de Moura
9dc2a4240d test: add test for getModuleDoc? 2021-08-06 14:14:22 -07:00
Leonardo de Moura
8acbb55632 chore: fix tests 2021-08-06 14:05:00 -07:00
Leonardo de Moura
accdededc0 test: module docs 2021-08-06 13:54:56 -07:00
Leonardo de Moura
75872189cc chore: fix test 2021-08-06 13:10:58 -07:00
Leonardo de Moura
76cc99179d fix: fixes #370 2021-08-06 12:52:23 -07:00
Leonardo de Moura
a230fe2d06 fix: forallMetaTelescope issue
This commit incorporates the fix at PR #612, and clean up
`Meta/Basic.lean` using Lean 4 features.
2021-08-06 09:47:10 -07:00
Daniel Selsam
34a27f2d56 fix: pp.analyze strict implicits 2021-08-06 17:02:00 +02:00
Leonardo de Moura
bcfc927799 fix: fixes #602 2021-08-05 16:14:04 -07:00
Leonardo de Moura
789c7073dc fix: avoid eager TC synthesis at isDefEq 2021-08-05 12:09:22 -07:00
Leonardo de Moura
4dbb3e6db1 fix: add workaround to prevent code explosion at deriving for FromJson
fixes #569
2021-08-05 06:58:07 -07:00
Wojciech Nawrocki
1b44768697 chore: fix test 2021-08-05 06:27:57 -07:00
Wojciech Nawrocki
3bbf19a404 feat: FromToJson for nested inductives 2021-08-05 06:27:57 -07:00
Sebastian Ullrich
07d1735ea2 feat: borrow inference: preserve mutual tail calls
Fixes #603
2021-08-05 06:26:06 -07:00
Leonardo de Moura
72e7bf4999 fix: synthPending bug 2021-08-04 20:07:06 -07:00
Leonardo de Moura
aff28f51cd fix: fixes #604 2021-08-04 17:19:17 -07:00
Leonardo de Moura
0869bbe558 fix: missig registerMVarErrorImplicitArgInfo for postponed instance mvars 2021-08-04 16:58:00 -07:00
Leonardo de Moura
4cd7e359df feat: elaborate strict implicit binders 2021-08-03 19:40:44 -07:00
Leonardo de Moura
257e38394f feat: add strict implicit binder annotation 2021-08-03 19:10:51 -07:00
Sebastian Ullrich
1dfacb5f84 fix: parenthesizer: respect lhsPrec
Fixes #595
2021-08-03 15:22:08 +02:00
Daniel Selsam
0036111db9 feat: pp.analyze original mvars are not unknown 2021-08-03 09:13:18 +02:00
Daniel Selsam
d56db0a22d doc: pp.analyze one more comment about a failure 2021-08-03 09:13:18 +02:00
Daniel Selsam
2afc18323d doc: pp.analyze a few comments about failures 2021-08-03 09:13:18 +02:00
Daniel Selsam
f1002cf759 feat: delab more thorough 'getParamKinds' 2021-08-03 09:13:18 +02:00
Daniel Selsam
652681621a fix: pp.analyze don't type-annotate mdatas 2021-08-03 09:13:18 +02:00
Daniel Selsam
d6253e091b fix: pp.analyze _s when forced explicit 2021-08-03 09:13:18 +02:00
Daniel Selsam
ea6fca24c2 refactor: pp.analyze StateT for analyzeApp 2021-08-03 09:13:18 +02:00
Daniel Selsam
aefd31b2a2 feat: better bottom-up/structure-type heuristics 2021-08-03 09:13:18 +02:00
Daniel Selsam
4c41142a61 chore: pp.analyze new test cases 2021-08-03 09:13:18 +02:00
Daniel Selsam
8dd8aea9c1 chore: new tests 2021-08-03 09:13:18 +02:00
Daniel Selsam
44f1f4e410 refactor: pp.analyze needs pp options 2021-08-03 09:13:18 +02:00
Daniel Selsam
48d5c0d2a6 chore: pp.proofs defaults to false 2021-08-03 09:13:18 +02:00
Daniel Selsam
00a33e2662 fix: bug in ppExpr test 2021-08-03 09:13:18 +02:00
Daniel Selsam
e6b90dde8f fix: pp.analyze mvars can bottom-up 2021-08-03 09:13:18 +02:00
Daniel Selsam
3fa992c684 feat: new pp.analyze.knowsType option 2021-08-03 09:13:18 +02:00
Daniel Selsam
7576b1dad1 chore: fix test hardcoding position offset 2021-08-03 09:13:18 +02:00
Daniel Selsam
a84291641b fix: pp.analyze restriction on _ 2021-08-03 09:13:18 +02:00
Daniel Selsam
702211db2a feat: pp.analyze detect when struct-inst type needed 2021-08-03 09:13:18 +02:00
Daniel Selsam
e0897ae78c chore: test unexpanders inside namespaces 2021-08-03 09:13:18 +02:00
Daniel Selsam
5acdf48366 chore: fix tests 2021-08-03 09:13:18 +02:00