• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37658
77%

Build:
DEFAULT BRANCH: master
Ran 21 Oct 2023 01:30PM UTC
Jobs 1
Files 339
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Oct 2023 08:24PM UTC coverage: 87.459% (-0.5%) from 87.929%
#37658

push

local

web-flow
fix unicode indexing in parse(Complex, string) (#51758)

This fixes a string-indexing bug introduced in #24713 (Julia 0.7).
Sometimes, this would cause `parse(Complex{T}, string)` to throw a
`StringIndexError` rather than an `ArgumentError`, e.g. for
`parse(ComplexF64, "3 β+ 4im")` or `parse(ComplexF64, "3 + 4αm")`. (As
far as I can tell, it can never cause parsing to fail for valid
strings.)

The source of the error is that if `i` is the index of an ASCII
character in a string `s`, then `s[i+1]` is valid (even if the next
character is non-ASCII) but `s[i-1]` is invalid if the previous
character is non-ASCII.

5 of 5 new or added lines in 1 file covered. (100.0%)

73572 of 84122 relevant lines covered (87.46%)

11577017.06 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.87
-0.32% base/arrayshow.jl
1
89.58
-1.14% base/error.jl
1
84.7
-0.55% base/indices.jl
1
87.32
-0.47% base/iostream.jl
1
95.52
-1.49% base/number.jl
1
94.94
-0.19% base/reinterpretarray.jl
1
80.86
0.41% stdlib/FileWatching/src/FileWatching.jl
1
96.82
-0.16% stdlib/LinearAlgebra/src/bidiag.jl
1
71.33
-0.67% stdlib/LinearAlgebra/src/LinearAlgebra.jl
1
90.2
-1.96% stdlib/Markdown/src/parse/parse.jl
1
88.49
-0.14% stdlib/REPL/src/REPLCompletions.jl
2
93.82
-0.22% base/array.jl
2
97.48
-0.84% base/bitset.jl
2
89.06
-0.63% base/boot.jl
2
92.41
0.89% base/io.jl
2
93.75
-0.42% base/math.jl
2
91.06
-0.24% base/multidimensional.jl
2
86.11
-1.39% stdlib/LinearAlgebra/src/adjtrans.jl
3
79.12
-3.3% base/experimental.jl
3
91.54
-0.49% stdlib/LinearAlgebra/src/diagonal.jl
3
97.94
-1.23% stdlib/LinearAlgebra/src/special.jl
3
85.22
-2.61% stdlib/Markdown/src/GitHub/table.jl
4
90.09
-3.6% stdlib/Markdown/src/parse/util.jl
5
96.67
0.1% base/strings/basic.jl
6
88.62
-1.8% base/process.jl
8
59.26
-29.63% base/ryu/Ryu.jl
10
78.47
-0.42% base/loading.jl
10
75.84
-6.71% base/ryu/fixed.jl
10
96.59
0.04% base/strings/util.jl
10
90.53
-5.26% stdlib/Markdown/src/Common/block.jl
11
95.14
0.2% base/regex.jl
11
91.53
-5.82% base/ryu/exp.jl
12
91.88
0.37% base/strings/substring.jl
12
82.73
-2.88% base/task.jl
16
87.87
-0.67% base/show.jl
21
80.2
-10.66% base/stacktraces.jl
24
91.3
-4.54% stdlib/LinearAlgebra/src/generic.jl
26
85.36
-7.83% base/expr.jl
28
73.96
-8.28% base/ryu/shortest.jl
29
87.67
-4.95% base/strings/io.jl
39
45.0
-28.61% base/meta.jl
40
73.89
-1.11% base/client.jl
67
17.97
-52.57% base/terminfo.jl
141
71.9
-20.32% stdlib/LinearAlgebra/src/matmul.jl
151
66.02
-24.6% base/errorshow.jl
Jobs
ID Job ID Ran Files Coverage
1 #37658.1 21 Oct 2023 01:30PM UTC 339
87.46
Source Files on build #37658
  • Tree
  • List 339
  • Changed 282
  • Source Changed 0
  • Coverage Changed 69
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f71228d9 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc