aviatesk / aviatesk/juliacon2021-workshop-pkgdev
no errors detected
- Dominant language
- Jupyter Notebook
- Stars
- 33
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
following the video and I see that following statement should return `MethodError: no method matching zero(::Type{Any})`
```julia-repl
1.9.0-beta4>mutable struct Squares
count::Int
end
1.9.0-beta4>Base.iterate(S::Squares, s =1) = s> S.count ? nothing : (s^2, s+1)
1.9.0-beta4>Base.length(S::Squares) = S.count
1.9.0-beta4>using JET; @report_opt(sum(Squares(10)))
No errors detected
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Julia REPL example and the `@report_opt(sum(Squares(10)))` entry point from the issue. Investigate why the expected `zero(::Type{Any})` MethodError is not reported; done means the same example produces the expected diagnostic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100