tydeu
1c916b755a
refactor: reduce use of targets + IndexT cleanup
2022-07-27 00:27:12 -04:00
tydeu
226def8b82
refactor: remove many used Target methods
2022-07-26 23:40:29 -04:00
tydeu
6709a795df
fix: apply nameToSharedLib to modTargets too
2022-07-26 23:24:49 -04:00
Leonardo de Moura
ba24f7f57a
chore: update stage0
2022-07-26 18:51:10 -07:00
Leonardo de Moura
ed7f502e54
feat: doc string support for register_simp_attr, register_option, register_builtin_option, declare_config_elab
...
see #1374
2022-07-26 18:46:23 -07:00
Leonardo de Moura
3e7d45aaba
fix: improve finer-grained term infos for do blocks
...
see #1248
This commit adds a small hack to fix the term info for the following `do`-elements
```lean
let (x, y) := ...
let (x, y) ← ...
let mut (x, y) ← ...
let some x ← ... | ...
```
2022-07-26 18:18:05 -07:00
tydeu
8b402c4ee0
refactor: move info into target task
2022-07-26 21:13:43 -04:00
Leonardo de Moura
fffd61cf98
chore: update stage0
2022-07-26 17:56:49 -07:00
Leonardo de Moura
642cf0bc6d
feat: add option pp.showLetValues
...
closes #1345
2022-07-26 17:53:34 -07:00
Leonardo de Moura
0e3f031660
fix: position information for with_annotate_term when coercions are used
...
see #1248
2022-07-26 16:09:45 -07:00
Leonardo de Moura
c22120371e
feat: finer-grained term infos for do blocks
...
closes #1248
2022-07-26 15:47:37 -07:00
Leonardo de Moura
bbad6d1efe
feat: add with_annotate_term
2022-07-26 15:13:28 -07:00
Leonardo de Moura
43c787d1c6
feat: synthesize implicit structure fields in the structure instance notation
...
closes #1305
2022-07-26 13:24:57 -07:00
Leonardo de Moura
e68e448070
fix: convert inductive type instance implicit parameters to implicit when building SizeOf instance
...
It is better for TC resolution since the parameter can be inferred by
typing constraints, and it addresses issue #1373
2022-07-26 12:42:47 -07:00
Leonardo de Moura
642b30ab47
feat: add withInstImplicitAsImplict
2022-07-26 12:35:30 -07:00
tydeu
5e3282347e
refactor: remove facet target helpers
2022-07-26 15:30:11 -04:00
tydeu
33e05e16be
chore: cleanup at recBuildExternalDynlibs
2022-07-26 15:27:01 -04:00
tydeu
a05e35c783
feat: library facets
2022-07-26 15:07:27 -04:00
Leonardo de Moura
d6f0880d11
feat: add option warningAsError
2022-07-26 05:57:54 -07:00
Leonardo de Moura
385cfa6001
fix: fixes #1372
2022-07-26 05:51:02 -07:00
Leonardo de Moura
3896244c55
chore: cleanup
2022-07-25 22:39:56 -07:00
Leonardo de Moura
30199745ad
chore: update stage0
2022-07-25 22:19:59 -07:00
Leonardo de Moura
90fb110cc9
refactor: improve FVarId method discoverability
...
See issue #1346
2022-07-25 22:18:58 -07:00
Leonardo de Moura
db7e546155
fix: Match.unify?
...
closes #1361
2022-07-25 20:30:01 -07:00
Leonardo de Moura
b3b2a07ed0
feat: support dotted notation and named arguments in patterns
2022-07-25 18:19:32 -07:00
Leonardo de Moura
69b7771570
fix: etaArgs and ellipsis at elabAppArgs
...
When `..` is used, we should not eta-expand but add `_`s.
2022-07-25 18:13:32 -07:00
tydeu
97100dcd02
feat: build all CLI targets in the same build pass
2022-07-25 20:48:31 -04:00
Leonardo de Moura
aa267dbc9b
doc: add doc-strings
2022-07-25 17:36:10 -07:00
Leonardo de Moura
c418e8d2c5
fix: use useExplicit := false when processing instance ... where ... notation fields
...
See new test.
2022-07-25 16:53:13 -07:00
Leonardo de Moura
c2a13da58d
fix: ensure let f | ... and let rec f | ... notations behave like the top-level ones with respect to implici lambdas
...
closes #1360
2022-07-25 16:53:13 -07:00
Leonardo de Moura
387b6c22ee
chore: document and cleanup
2022-07-25 16:53:13 -07:00
Sebastian Ullrich
da44604c1b
fix: notation delaborator on over-application
2022-07-25 13:42:37 -07:00
tydeu
f843d29f72
refactor: remove module facet special casing
2022-07-25 15:36:42 -04:00
Leonardo de Moura
40936d52bd
chore: improve [deprecated] example at release notes
2022-07-25 12:32:15 -07:00
Leonardo de Moura
f83846b481
chose: update release notes
2022-07-25 12:28:23 -07:00
Leonardo de Moura
d84fc3aed7
chore: update stage0
2022-07-25 12:22:14 -07:00
Leonardo de Moura
c042e7ba58
feat: add support for "jump-to-definition" at [tactic ...], [commandElab ...] and [termElab ...] attributes
...
see #1350
2022-07-25 12:21:51 -07:00
Leonardo de Moura
afce57386c
chore: doc strings at KeyedDeclsAttribute.lean
2022-07-25 12:20:19 -07:00
Leonardo de Moura
f19b122ab1
feat: add support for "jump-to-definition" at [implementedBy] attribute
...
see #1350
2022-07-25 12:06:55 -07:00
tydeu
1d2ca29f2a
chore: remove package config builtin targets
2022-07-25 14:59:49 -04:00
tydeu
90ba1a6556
chore: start next Lake version
2022-07-25 14:59:39 -04:00
Leonardo de Moura
6fbf15043f
refactor: move InfoState to CoreM
...
We want to be able to update `InfoState` at `AttrM` which is just an
alias for `CoreM`.
I considered defining `AttrM` as `StateRefT InfoState CoreM`, but this
is problematic because we also want to invoke `AttrM` monadic
actions from `MetaM`.
Closes #1350
2022-07-25 11:57:56 -07:00
Leonardo de Moura
c62404a97a
refactor: split InfoTree.lean
2022-07-25 08:41:34 -07:00
Wojciech Nawrocki
12b3573c14
fix: tests
2022-07-25 08:01:27 -07:00
Wojciech Nawrocki
e30ae62dff
refactor: simplify position type
2022-07-25 08:01:27 -07:00
E.W.Ayers
b714e087d6
fix: widgetSourceRegistry now stores the UserWidgetDefinition declaration name instead of WidgetSource
...
This means that the environment extension is not storing a big text object and instead the text
is retrieved from the declaration itself.
2022-07-25 08:01:27 -07:00
E.W.Ayers
591b218607
doc: fix @kha issues
2022-07-25 08:01:27 -07:00
Wojciech Nawrocki
122748ab06
test: strip some more indices
2022-07-25 08:01:27 -07:00
Wojciech Nawrocki
5183887722
test: fix infoTree.lean
2022-07-25 08:01:27 -07:00
E.W.Ayers
28ebf90948
fix: add Inhabited Std.RBMap
2022-07-25 08:01:27 -07:00