Leonardo de Moura
|
94d2a3ef86
|
feat: improve error message when failing to infer resulting universe level for inductive datatypes and structures
|
2022-05-10 18:30:53 -07:00 |
|
Leonardo de Moura
|
0b92195ec8
|
feat: refine auto bound implicit feature
|
2022-04-21 10:17:15 -07:00 |
|
Leonardo de Moura
|
8d2d0b3fbe
|
chore: remove {} from structure command
|
2022-04-13 10:19:00 -07:00 |
|
Leonardo de Moura
|
efb859013e
|
chore: ignore {} annotations at mk_projections
|
2022-04-13 10:16:41 -07:00 |
|
Leonardo de Moura
|
ea682830d1
|
refactor: change addTermInfo type
|
2022-04-08 15:01:57 -07:00 |
|
Leonardo de Moura
|
099fba43d3
|
chore: remove trace[Meta.debug] leftovers
|
2022-04-08 06:49:09 -07:00 |
|
Leonardo de Moura
|
de2e2447d2
|
chore: style
|
2022-04-07 17:35:05 -07:00 |
|
Leonardo de Moura
|
7c5575631a
|
feat: remove _tmp_ind_univ_param elaboration hack
The new approach produces better type information in the "info view" when
hovering over inductive declarations.
|
2022-04-05 20:51:15 -07:00 |
|
Leonardo de Moura
|
743f6dd3a2
|
chore: cleanup
|
2022-04-03 06:56:27 -07:00 |
|
Leonardo de Moura
|
6631d92d7b
|
fix: addAutoBoundImplicitsOld occurrences at MutualDef.lean and Structure.lean
This commit also fixes non-termination at `collectUnassignedMVars`
|
2022-03-25 09:07:59 -07:00 |
|
Leonardo de Moura
|
519b780164
|
doc: document InfoTree issue
|
2022-03-25 07:12:07 -07:00 |
|
Leonardo de Moura
|
0bd9de1cb9
|
perf: add InstantiateLevelCaches for types and values at CoreM
|
2022-03-15 17:42:38 -07:00 |
|
Leonardo de Moura
|
f7130d8e07
|
refactor: use CPS at addAutoBoundImplicits
We want to be able to declare new local variables there.
|
2022-03-05 16:24:33 -08:00 |
|
Gabriel Ebner
|
f8b43630a6
|
fix: refs to copied subobjects in diamond extension
|
2022-02-07 10:54:32 -08:00 |
|
Leonardo de Moura
|
12e2a79170
|
chore: fix codebase after removing auto pure
|
2022-02-03 18:08:14 -08:00 |
|
Gabriel Ebner
|
54cff10f3f
|
fix: dependent fields in diamond extensions
|
2022-02-03 09:17:14 -08:00 |
|
Gabriel Ebner
|
7d4ae642fb
|
fix: recursively copy subfields in diamond extends
|
2022-01-29 08:31:34 -08:00 |
|
Leonardo de Moura
|
68bd55af32
|
chore: fix codebase
|
2021-12-10 13:12:09 -08:00 |
|
Sebastian Ullrich
|
4f15805787
|
feat: annotate declarations with term infos
|
2021-11-27 07:25:15 -08:00 |
|
Leonardo de Moura
|
d9b057af03
|
fix: fixes #793
|
2021-11-22 13:28:08 -08:00 |
|
Gabriel Ebner
|
bfc74decde
|
feat: add info field to Syntax.node
|
2021-10-26 20:19:27 +02:00 |
|
Leonardo de Moura
|
c02b4f2675
|
refactor: move to Meta namespace
|
2021-10-06 19:05:37 -07:00 |
|
Leonardo de Moura
|
7c9158a50e
|
fix: structure command diamond support
Fixes issue described at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Structure.20diamond.20error
|
2021-08-19 07:45:21 -07:00 |
|
Leonardo de Moura
|
74bd537465
|
fix: generation of to* field names
|
2021-08-11 17:25:02 -07:00 |
|
Leonardo de Moura
|
39ce3044ec
|
feat: emit warning message when failed to copy default value
|
2021-08-10 20:56:20 -07:00 |
|
Leonardo de Moura
|
61b3e6bcb8
|
fix: reduce projections of expanded structures at copyDefaultValue?
|
2021-08-10 20:50:59 -07:00 |
|
Leonardo de Moura
|
0623bb3860
|
feat: update fieldMap with composite field
|
2021-08-10 20:04:41 -07:00 |
|
Leonardo de Moura
|
ae03f15c92
|
test: default value set at copied structure
|
2021-08-10 19:00:34 -07:00 |
|
Leonardo de Moura
|
3b1285bee8
|
feat: process overriden default values in copied parents
|
2021-08-10 18:55:12 -07:00 |
|
Leonardo de Moura
|
295cae8afd
|
feat: copy field default values
Only basic examples are working. We still have many TODOs
|
2021-08-10 16:53:10 -07:00 |
|
Leonardo de Moura
|
47b8fa15f1
|
fix: propagate visibility annotation
|
2021-08-10 15:34:07 -07:00 |
|
Leonardo de Moura
|
9cd729265e
|
fix: missing instantiateMVars
|
2021-08-10 10:04:16 -07:00 |
|
Leonardo de Moura
|
9fe1cd1026
|
chore: modify default value for option structureDiamondWarning
We still have some TODO items, but structure diamond support is
already useful in practice.
|
2021-08-10 09:24:53 -07:00 |
|
Leonardo de Moura
|
50deae9b8b
|
feat: copy binderInfo and inferMod from original field
|
2021-08-10 09:12:58 -07:00 |
|
Leonardo de Moura
|
bc26a9b527
|
feat: improve copyNewFieldsFrom
|
2021-08-10 09:08:35 -07:00 |
|
Leonardo de Moura
|
af1cecc641
|
feat: better error message
|
2021-08-10 07:46:15 -07:00 |
|
Leonardo de Moura
|
9e5998baf0
|
feat: register instance/reducible attribute for structuer diamond coercions
|
2021-08-10 07:16:59 -07:00 |
|
Leonardo de Moura
|
0f184a8c93
|
fix: binder annotation for class diamond coercions
|
2021-08-10 06:59:28 -07:00 |
|
Leonardo de Moura
|
bccad8edb1
|
feat: add coercion to parent structure whose fields having been copied
|
2021-08-09 19:01:08 -07:00 |
|
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
|
6f318ddde3
|
feat: save binderInfo and inferMod ad registerStructure
|
2021-08-09 19:01:08 -07:00 |
|
Leonardo de Moura
|
f67501a890
|
chore: cleanup
|
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
|
3896c44b55
|
chore: fix incorrect comment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
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 |
|
Leonardo de Moura
|
65aafc070c
|
chore: remove mkInternalSubobjectFieldName hack
|
2021-08-03 12:05:10 -07:00 |
|
Leonardo de Moura
|
d864afae91
|
feat: private fields
closes #418
|
2021-08-02 20:20:21 -07:00 |
|
Leonardo de Moura
|
90047e73e8
|
feat: cache structure parent names
|
2021-08-02 18:58:00 -07:00 |
|
Leonardo de Moura
|
635bc78d72
|
feat: use structure extension to implement Structure.lean
|
2021-08-02 18:03:20 -07:00 |
|