Errors in Sample file

Open
#208 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
devtools

Research direction

The reported errors are in benchmark/benchmarks.jl; open that file and reproduce the sample with the current Julia version. Check the Random import and the replace call against the reported failures. Done means the sample runs without either error.

Written by the indexing model from the issue text.

Description

bug

It atleast has two errors and hasn't been updated for really long time:

  • Random(using Random) is not imported
  • Another error in line 18 : ERROR: LoadError: MethodError: no method matching replace(::String, ::String, ::String)

https://github.com/JuliaCI/BenchmarkTools.jl/blob/master/benchmark/benchmarks.jl

Dominant language
Julia
Stars
684
Forks
107
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaCI/BenchmarkTools.jl

All issues in JuliaCI/BenchmarkTools.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.