@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
8
<!-- links start -->
9
+ [ 0.9.16 ] : https://github.com/aviatesk/JET.jl/compare/v0.9.15...v0.9.16
9
10
[ 0.9.15 ] : https://github.com/aviatesk/JET.jl/compare/v0.9.14...v0.9.15
10
11
[ 0.9.14 ] : https://github.com/aviatesk/JET.jl/compare/v0.9.13...v0.9.14
11
12
[ 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
34
35
[ 0.8.0 ] : https://github.com/aviatesk/JET.jl/compare/v0.7.15...v0.8.0
35
36
<!-- links end -->
36
37
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
+
37
72
## [0.9.15]
38
73
### Changed
39
74
- JET.jl now will not be loaded on nightly version by default. This ensures that JETremains
0 commit comments