Skip to content

Commit d670aef

Browse files
authored
Merge branch 'main' into igor/ics23-fix
2 parents 14173b5 + ee29895 commit d670aef

File tree

107 files changed

+3292
-2747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+3292
-2747
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ jobs:
2929
- run: npm install
3030
- run: npm run format-check || (echo "Run 'npm run format'" && exit 1)
3131

32+
quint-vscode-linting:
33+
runs-on: ubuntu-latest
34+
defaults:
35+
run:
36+
working-directory: ./vscode/quint-vscode
37+
strategy:
38+
fail-fast: false
39+
steps:
40+
- uses: actions/checkout@v2
41+
- uses: actions/setup-node@v2
42+
with:
43+
node-version: "17"
44+
- run: npm install
45+
- run: npm run format-check || (echo "Run 'npm run format'" && exit 1)
46+
3247
quint-unit-tests:
3348
runs-on: ${{ matrix.operating-system }}
3449
defaults:

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## UNRELEASED
99

10+
### Added
11+
### Changed
12+
13+
- `quint run` produces a friendlier message when it meets a `const` (#1050)
14+
15+
### Deprecated
16+
### Removed
17+
18+
- Operator `repeated` (#1026)
19+
20+
### Fixed
21+
22+
- Fix bug where `export` for a qualified import would not work (#1030)
23+
- Fix a problem where name resolution would fail to flag name errors for
24+
non-exported names in incremetal evaluation in REPL (#1031)
25+
26+
### Security
27+
28+
## v0.12.0 -- 2023-07-06
29+
1030
### Added
1131

12-
- One internal cache was added to the name resolution step, improving
13-
performance for large specs (#1001)
1432
- Support out of order definitions (#1008)
33+
- Restructure of name resolution, improving performance significantly for large
34+
specs (#1011)
1535

1636
### Changed
1737
### Deprecated
1838
### Removed
1939
### Fixed
40+
41+
- An error is now reported when multiple modules are declared with the same name (#1020)
42+
2043
### Security
2144

2245
## v0.11.4 -- 2023-06-28

doc/builtin.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -860,33 +860,6 @@ var x: int
860860
run test = (x' = 1).then(x' = 2).then(x' = 3).then(assert(x == 3))
861861
```
862862

863-
## `action repeated: (bool, int) => bool`
864-
865-
**Deprecated**: use `n.reps(A)` instead.
866-
867-
`a.repeated(n)` is the action `a` repeated `n` times.
868-
869-
The semantics of this operator is as follows:
870-
871-
- When `n <= 0`, this operator is equivalent to `unchanged`.
872-
- When `n = 1`, `a.repeated(n)` is equivalent to `a`.
873-
- When `n > 1`, `a.repeated(a)`, is equivalent to `a.then(a.repeated(n - 1))`.
874-
875-
Note that the operator `a.repeated(n)` applies `a` exactly `n` times (when `n` is
876-
non-negative). If you want to repeat `a` from `i` to `j` times, you can combine
877-
it with `orKeep`:
878-
879-
```
880-
a.repeated(i).then((a.orKeep(vars)).repeated(j - i))
881-
```
882-
883-
### Examples
884-
885-
```
886-
var x: int
887-
run test = (x' = 0).then((x' = x + 1).repeated(3)).then(assert(x == 3))
888-
```
889-
890863
## `action reps: (int, (int) => bool) => bool`
891864

892865
`n.reps(i => A(i))` or `n.reps(A)` the action `A`, `n` times.

0 commit comments

Comments
 (0)