Skip to content

Commit 33b7a5e

Browse files
committed
version 0.9.16
1 parent 14c204e commit 33b7a5e

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
<!-- links start -->
9+
[0.9.16]: https://github.com/aviatesk/JET.jl/compare/v0.9.15...v0.9.16
910
[0.9.15]: https://github.com/aviatesk/JET.jl/compare/v0.9.14...v0.9.15
1011
[0.9.14]: https://github.com/aviatesk/JET.jl/compare/v0.9.13...v0.9.14
1112
[0.9.13]: https://github.com/aviatesk/JET.jl/compare/v0.9.12...v0.9.13
@@ -34,6 +35,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3435
[0.8.0]: https://github.com/aviatesk/JET.jl/compare/v0.7.15...v0.8.0
3536
<!-- links end -->
3637

38+
## [0.9.16]
39+
### Changed
40+
- JET is now able to show multiple syntax errors at once, e.g.,
41+
> multisyntaxerrors.jl
42+
```
43+
function f(W,X,Y)
44+
s = 0
45+
for i = 1:10
46+
s += g(W[i]*f(X[end-1] + Y[end÷2+]),
47+
W[i+1]*f(X[end-2] + Y[end÷2]) +,
48+
W[i+2]*f(X[end-3] + Y[end÷2-3]))
49+
end
50+
return s
51+
end
52+
```
53+
```julia
54+
julia> report_file("multisyntaxerrors.jl")
55+
[...]
56+
═════ 2 toplevel errors found ═════
57+
┌ @ multisyntaxerrors.jl:4
58+
# Error @ multisyntaxerrors.jl:4:42
59+
for i = 1:10
60+
│ s += g(W[i]*f(X[end-1] + Y[end÷2+]),
61+
# ╙ ── unexpected `]`
62+
└──────────────────────
63+
┌ @ multisyntaxerrors.jl:5
64+
# Error @ multisyntaxerrors.jl:5:47
65+
│ s += g(W[i]*f(X[end-1] + Y[end÷2+]),
66+
│ W[i+1]*f(X[end-2] + Y[end÷2]) +,
67+
# ╙ ── unexpected `,`
68+
└──────────────────────
69+
```
70+
(aviatesk/JET.jl#687)
71+
3772
## [0.9.15]
3873
### Changed
3974
- JET.jl now will not be loaded on nightly version by default. This ensures that JETremains

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "JET"
22
uuid = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
33
authors = ["Shuhei Kadowaki <[email protected]>"]
4-
version = "0.9.15"
4+
version = "0.9.16"
55

66
[deps]
77
CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"

0 commit comments

Comments
 (0)