Joachim Breitner
ae470e038e
docs: fix doc comment syntax in declModifiers doc comment ( #2590 )
...
The hover on `declModifiers` says doc comments are `/-! … -/`, when it
should say `/-- … -/`.
2023-09-27 11:57:40 +10:00
Mario Carneiro
e6fe3bee71
fix: hover term/tactic confusion
2023-09-26 10:16:37 +02:00
Scott Morrison
a5a150a862
chore: begin development cycle for v4.3.0 ( #2585 )
2023-09-26 04:18:54 +00:00
tydeu
decf7a042a
perf: lake: lazily acquire repo URL/tag in :release
2023-09-25 17:07:27 -04:00
tydeu
16ceb4bf82
perf: lake: no lean --githash when collocated
2023-09-22 16:56:12 -04:00
Sebastian Ullrich
83ecac4fd8
perf: lake: build lakefile environment incrementally
2023-09-22 22:01:07 +02:00
tydeu
1354fd9ccd
perf: do not detect lean's toolchain
...
use `ELAN_TOOLCHAIN` only
2023-09-21 18:52:52 -04:00
Arthur Adjedj
325fab1c1d
fix: don't try to generate below for nested predicates. ( #2390 )
...
* fix: don't try to generate `below` for nested predicates.
* doc : document test #2389
* doc : document `mkBelow`
* test: extend `2389.lean`
* style: fix comments in `IndPredBelow.lean` and `2389.lean`
2023-09-21 14:24:37 +10:00
thorimur
e79370a1e6
fix: only return new mvars from refine, elabTermWithHoles, and withCollectingNewGoalsFrom ( #2502 )
...
* fix: `withCollectingNewGoalsFrom`
do not collect old goals
* fix: update occurs check
* test: fix test `run/492.lean`
* docs: add docstring to `elabTermWithHoles`
* test: `refineFiltersOldMVars`
* test: fix `expected.out` name
* test: fix `expected.out` filename and line numbers
* docs: use long ascii dash instead of em dash
Co-authored-by: Scott Morrison <scott@tqft.net>
* docs: fix long line, mention lean4#2502
* docs: a couple more long lines
* test: fix line numbers
---------
Co-authored-by: Scott Morrison <scott@tqft.net>
2023-09-21 14:23:27 +10:00
tydeu
ec217caf22
feat: lake: add name to manifest
2023-09-20 22:52:39 -04:00
Sebastian Ullrich
dc60150b5a
chore: update domain
2023-09-20 15:13:27 -07:00
Joachim Breitner
b2d668c340
perf: Use flat ByteArrays in Trie ( #2529 )
2023-09-20 13:22:37 +02:00
Patrick Massot
0a59fd96a5
chore: finer-grained ref in getCalcFirstStep ( #2563 )
...
Suggested by @gebner at https://leanprover.zulipchat.com/#narrow/stream/348111-std4/topic/Random.20calc.20ranges/near/372704972
2023-09-19 18:58:23 +00:00
Mario Carneiro
f0af71a57b
fix: use MoveFileEx for rename on win
2023-09-19 20:24:37 +02:00
Sebastian Ullrich
9038d2e886
chore: disambiguate whnf system category
2023-09-19 05:57:01 -07:00
Sebastian Ullrich
0c324a5445
fix: set MACOSX_DEPLOYMENT_TARGET in CI only
2023-09-19 06:11:31 -04:00
Henrik
0d5f9122a1
perf: reduce allocations in unused variable linter
2023-09-18 05:41:37 -04:00
David Renshaw
ba416f2c1c
fix: rename parameter of withImportModules to match doc string
2023-09-18 05:40:47 -04:00
Sebastian Ullrich
3e755dc0e1
fix: enforce linebreak between calc steps
2023-09-18 05:39:41 -04:00
thorimur
018020d36f
fix: uninterpolated error message in registerRpcProcedure ( #2547 )
2023-09-18 11:39:04 +02:00
Scott Morrison
26de6d3591
chore: begin development cycle for 4.2.0 ( #2545 )
...
* chore: add release notes for #2470 and #2480
* chore: begin development cycle for 4.2.0
* chore: add Lake-related release notes for v4.1.0
---------
Co-authored-by: Mac Malone <tydeu@hatpress.net>
2023-09-17 14:17:30 +10:00
tydeu
be97757982
chore: lake: code cleanup
...
* remove MTime `checkIfNewer`
* remove unnecessary `@[noinline]`
* inline `MainM` combinators
2023-09-14 02:15:37 -04:00
tydeu
3be4d74321
fix: lake: lowercase template exe name to avoid clash with lib
2023-09-14 02:15:37 -04:00
tydeu
9088df4c57
doc: lake: add pkg org info to README + other tweaks
2023-09-14 02:15:37 -04:00
tydeu
65fa1e06b2
feat: lake: improve package templates
...
* add library directory
* add note on `supportInterpreter`
* use `where`-style configs
2023-09-14 02:15:37 -04:00
tydeu
473d4c51ad
feat: lake: better native object tracing
...
* `weakLeanc/LinkArgs` for libs/mods/exes
* `weakArgs`/``extraDepTrace` for `buildO`
* include Lean trace when compiler is part of Lean toolchain
* do not include system-dependent file paths (e.g., `-I`) in dep trace
2023-09-14 02:15:37 -04:00
tydeu
be2eef5f3b
feat: lake: better cloud release management
...
* step logging for cloud release fetching
* do not include cloud release bundle in trace
* `Package.afterReleaseSync/Async` utilities
* also cleanup `Package.recComputeDeps`
2023-09-14 02:15:37 -04:00
tydeu
0bb6bcf24c
feat: lake: add upgrade and exec CLI aliases
2023-09-14 02:15:37 -04:00
tydeu
5983abcf78
fix: lake: use manifest opts
...
specifically, union manifest and config opts (preferring manifest)
2023-09-14 02:15:37 -04:00
tydeu
3f4a9dc9a1
feat: lake: better manifest-related error messages
2023-09-14 02:15:37 -04:00
tydeu
becc6fdb0e
feat: lake: detect Elan install and Elan toolchain
2023-09-14 02:15:37 -04:00
tydeu
7b9d8a04c2
feat: lake: maintain order of libs and deps
...
provides a well-defined selection order when decls overlap
2023-09-14 02:15:37 -04:00
tydeu
e96b338cd9
feat: lake run <s> for s in any pkg
2023-09-14 02:15:37 -04:00
tydeu
113caf73fa
fix: lake: reconfigure if toolchain changes
2023-09-14 02:15:37 -04:00
tydeu
522ea723ad
fix: lake: dep URL match check in updateGitRepo
...
see 6176fdba9e (r125905901)
2023-09-14 02:15:37 -04:00
Scott Morrison
c318d5817d
feat: allow configuring occs in rw
2023-09-13 12:03:18 -07:00
Sebastian Ullrich
e9d60e143a
perf: avoid allocation in mkUnexpectedTokenErrors
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
aab0e382c8
perf: inline ParserState.hasError
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
241430aa03
perf: avoid calculating position, revert building unexpected message in mkUnexpectedTokenErrors
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
c67686132a
feat: include unexpected token in error message
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
e580c903e6
feat: adjust message range on unexpected token error
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
6c0baf4aed
feat: support reporting range for parser errors, report ranges for expected token errors
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
f4fc8b3e15
refactor: parser error setters
2023-09-12 11:42:24 +02:00
Jannis Limperg
13ca443f05
fix: simp: include class projections in UsedSimps ( #2489 )
...
* fix: simp: include class projections in UsedSimps
Fixes #2488
2023-09-07 08:54:00 +10:00
tydeu
cfe4db16ea
test: lake: check warnings in tests/clone
...
tests leanprover/lean4#2427
2023-09-06 17:35:59 -04:00
tydeu
2e726f5f5a
test: lake: give issue tests meaningful names
2023-09-06 17:35:59 -04:00
tydeu
8c4811a300
test: lake: merge 49 and 116 into tests/serve
2023-09-06 17:35:59 -04:00
tydeu
398c131620
test: lake: merge tests/102 into globs
2023-09-06 17:35:59 -04:00
tydeu
9136309e59
test: lake: move examples/init to tests
2023-09-06 17:35:59 -04:00
tydeu
bb09efe1c4
test: lake: rename test to tests
...
(for consistency with Lean)
2023-09-06 17:35:59 -04:00